From nobody Thu Apr 16 20:49:12 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 4973C3EDADB for ; Wed, 25 Feb 2026 19:34:16 +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=1772048057; cv=none; b=S84KvYBm0RiZYt2HYYXd5P6vmrCJfNwSzYoy/Iq9ks67zfdici3tBmHuwXyJoYuCgNKobi2fiTqEvBHtLxbJp7WczJDjb/r2q4rzUeMzwPkU4yYWvsUGqtOyW5UG7Fkt2DcQrJD4Z2EhHw7fNIKuX27Epj3pxq2YmbsFWh7VR2Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772048057; c=relaxed/simple; bh=l1DLu4m1IqoenzvG1dMtBs4zBwBj18CfliIII+47tQE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-type; b=MJKbN/Cd9jaLiuEVmGagJMrT+CvslYG/1c4ml58CSEMVP6LX5pxFYr1jXPuQ9m45Rlyiacqt86IvQl5a1YEJ0NzkjZF44tMl4DxHFOtb3uIA0lY5FJzyAUOfRXsTXuaim81RovZ+nrmc6UyULKOFu6fgiCbG3Fw0Py6I/t8ATAM= 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=gQR35o9w; 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="gQR35o9w" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1772048055; 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: in-reply-to:in-reply-to:references:references; bh=oHue+3O3JwSj/7Q60blBO4UaiLUrM2RbRCxCjbsbtgc=; b=gQR35o9wDIFq26dGoUBJQQ6TftSS6S0XGK0rPr2jWioxh5stlsLhxgPNp5ejGbODMXHia9 CQNsGG8uuXdc+niIEdcI/MtQFyqi48ybkBhcSBvhhMtjPljovxsPqi4WL3O5yGL3iOfsfY jqF7ZCmqWjxKWN6vjm9qqHq2SprLwS4= Received: from mx-prod-mc-05.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-471-Y3cIISppPTK_9KLtt0G7GA-1; Wed, 25 Feb 2026 14:34:11 -0500 X-MC-Unique: Y3cIISppPTK_9KLtt0G7GA-1 X-Mimecast-MFC-AGG-ID: Y3cIISppPTK_9KLtt0G7GA_1772048050 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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2D95819560AD; Wed, 25 Feb 2026 19:34:10 +0000 (UTC) Received: from t14ultra.redhat.com (unknown [10.44.32.109]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 879711955F43; Wed, 25 Feb 2026 19:34:05 +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 v2] x86: add $(srctree) as include dir for sbat.o Date: Wed, 25 Feb 2026 20:30:23 +0100 Message-ID: In-Reply-To: References: 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 Reviewed-by: Vitaly Kuznetsov --- arch/x86/boot/compressed/Makefile | 1 + 1 file changed, 1 insertion(+) Changes in v2: updated shortlog 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