[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: export potentially overridden tool chain components


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 28 Feb 2022 17:11:52 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=usePhEfemX5hy7zllvdwphaC1o+xYGJFNEu6k5DquK4=; b=T+hxd5k/H6Ylp+vdXw13J6PDyZb9ew+Il7afiKBWKCwJWIxLzEVQywEhDgrRUdBjnrprRLirYXBTTPuJ3tQS7jvSRsbVX2EWtHaNCO6flJ/r304zVViWTlkogx+z3PDs8yrIFy6m0IAEeZ4cxVXqJz6gIiUPOBJndfBoRfhXU8i/jafhEpCkvLlvtgnQUZ3y/5KevWhc0Yuc3xAFziH3BFgUNGUlDBJfpnCManalN/uhsiXAv9zc3HLeq5fUkk8c720HfUr0W1KFZ6vBFwxmFPBhiMn4a7n8KcgJ9y6WFohTyumj08iECsUNZtR2mndbadGGPp9ZUyHXFsu+7DmRDg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LGGTb4WyNt1LVViqmFMuN3VPf25AB/13s3qIpoOKqEAQawqkRC6XO+0Rd6BI2XIL2VwuaKp3y2bBeozqZNx40169Q67hQg3twJHODcXA6rjcP8lUGVR/7/ozKCJwRmBb0QGvAuFC2FdM67ZKFUsDcPKjaYUbtcxdeaTTcFec6hB4aKMF1bsRIqnqCpQoDwmQ0VHjgFKlHH29L0FamoIuK/HU9RjLoLwiN3ITShRViXE0M+6LgnNeAtnYP2lODLFuwrPK/D6WDGP8Lh8HThWNzLmOlPt7o7OiLE70whqUwkVv3mO600xpZnxInOZb1utp6qZEdGrrD/UAHoNxWsEROg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 28 Feb 2022 16:12:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

When overriding the tool chain via CROSS_COMPILE, the resulting
components need to be made available to, in particular (but not limited
to) the check-endbr.sh script. Note that we don't allow overriding
ADDR2LINE yet; this would first require additions to some config/*.mk
before it would make sense to export the resulting variable as well.

The lack of NM exporting was apparently not a problem so far, but add it
at this occasion as well - we're using the tool, after all.

Fixes: 4d037425dccf ("x86: Build check for embedded endbr64 instructions")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/Makefile
+++ b/xen/Makefile
@@ -55,7 +55,7 @@ export TARGET_ARCH     := $(shell echo $
 # Allow someone to change their config file
 export KCONFIG_CONFIG ?= .config
 
-export CC CXX LD
+export CC CXX LD NM OBJCOPY OBJDUMP
 
 export TARGET := xen
 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.