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

[xen staging] build: export potentially overridden tool chain components



commit e1cafab334b998e46057bbb8d1303be4499814bd
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Mar 4 09:27:08 2022 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Mar 4 09:27:08 2022 +0100

    build: export potentially overridden tool chain components
    
    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>
    Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Makefile b/xen/Makefile
index 865c0cb2e6..5c21492d6f 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -55,7 +55,7 @@ export TARGET_ARCH     := $(shell echo $(XEN_TARGET_ARCH) | \
 # 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
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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