From nobody Sun Feb 8 17:41:37 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC83E42AA3 for ; Tue, 6 Jan 2026 08:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767686723; cv=none; b=VJ6O0OFHi9RVDvxqgUvhC8zizUdm9kEhsunK7eTBgG85lLww7iVf968Ziqr9/KSO4LZxiP7YfLn+aXwVIVqzvptq7yNX6gMFQPUFfMYMVKldCBdAcl6YCMNPsNSxBWpB4PlJoQqPOGKhwjKO0KJ/Ajh3I4m1NnQKg42Jk8zXbUQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767686723; c=relaxed/simple; bh=iN525xHP/YsEhVyf1/7qeMHqy5Vu3TGryApCjcclph8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-type; b=O5VpsQ5THvnIib/qfvnaf5Z8oGzyPber6YbTPG2kBq+uEr74o9CoXdoLh0AF2jt2zZ+kmXZyzoQoVfhWYu8Ra02ogYscHI1MosF4hC7PP0j6kiGd8M8q5Wt5YPif3BEp84CH7gOfF5RvxdglK6k6OtxCxEUzSFMJn1L+OhEVUKc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Gt+b2hUf; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Gt+b2hUf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767686720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0tOjtHmVdeelHE83GTciYEarqnGCH4Bm22uYoIQjcyo=; b=Gt+b2hUfiPQyTdLignQ8K4u+udyjXx7185xGID1TAQjkOQXOdqmH0QAFKVop5aVpueGag8 RsqXODhSmzzZtG87QI2kswBBjtTZvIkYGS4i792P7INd0fqN41BETiVPAAQQBqthEPz7n/ V+A/s0fVpfMLFz3ptaOQUz7rPDktwyo= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-203-xLoWKQCGPz6Wg_UXJ4Q4gQ-1; Tue, 06 Jan 2026 03:05:18 -0500 X-MC-Unique: xLoWKQCGPz6Wg_UXJ4Q4gQ-1 X-Mimecast-MFC-AGG-ID: xLoWKQCGPz6Wg_UXJ4Q4gQ_1767686717 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id DE13D19560A5; Tue, 6 Jan 2026 08:05:16 +0000 (UTC) Received: from t14ultra.redhat.com (unknown [10.44.32.80]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 281DD19560AB; Tue, 6 Jan 2026 08:05:12 +0000 (UTC) From: Jan Stancek To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org Cc: hpa@zytor.com, vkuznets@redhat.com, linux-kernel@vger.kernel.org, jstancek@redhat.com Subject: [PATCH] arch/x86: add $(srctree) as include dir for sbat.o Date: Tue, 6 Jan 2026 09:01:30 +0100 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Content-Type: text/plain; charset="utf-8" CONFIG_EFI_SBAT_FILE can be a relative path. When compiling with objdir !=3D srctree the build currently fails because it can't find the file set in CONFIG_EFI_SBAT_FILE: arch/x86/boot/compressed/sbat.S: Assembler messages: arch/x86/boot/compressed/sbat.S:6: Error: file not found: kernel.sbat Add $(srctree) as include dir for sbat.o. Fixes: 61b57d35396a ("x86/efi: Implement support for embedding SBAT data fo= r x86") Signed-off-by: Jan Stancek --- arch/x86/boot/compressed/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/M= akefile index 68f9d7a1683b..b8b2b7bea1d3 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -113,6 +113,7 @@ vmlinux-objs-$(CONFIG_EFI_SBAT) +=3D $(obj)/sbat.o =20 ifdef CONFIG_EFI_SBAT $(obj)/sbat.o: $(CONFIG_EFI_SBAT_FILE) +AFLAGS_sbat.o +=3D -I $(srctree) endif =20 $(obj)/vmlinux: $(vmlinux-objs-y) $(vmlinux-libs-y) FORCE --=20 2.47.3