build: provide and export ADDR2LINE
PATCH 1/1 build: provide and export ADDR2LINE
Now that x86'es check-endbr.sh script uses it, also make it available consistently with other tool chain components.
Signed-off-by Jan Beulich <[email protected]>
config/StdGNU.mk +1 -0
@@ -10,6 +10,7 @@ endif LD_LTO = $(CROSS_COMPILE)ld endif CPP = $(CC) -E +ADDR2LINE = $(CROSS_COMPILE)addr2line AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib NM = $(CROSS_COMPILE)nm
config/SunOS.mk +1 -0
@@ -3,6 +3,7 @@ LD = $(CROSS_COMPILE)gld CC = $(CROSS_COMPILE)gcc CPP = $(CROSS_COMPILE)gcc -E CXX = $(CROSS_COMPILE)g++ +ADDR2LINE = $(CROSS_COMPILE)gaddr2line AR = $(CROSS_COMPILE)gar RANLIB = $(CROSS_COMPILE)granlib NM = $(CROSS_COMPILE)gnm
xen/Makefile +1 -1
@@ -55,7 +55,7 @@ export TARGET_ARCH := $(shell echo $ # Allow someone to change their config file export KCONFIG_CONFIG ?= .config -export CC CXX LD NM OBJCOPY OBJDUMP +export CC CXX LD NM OBJCOPY OBJDUMP ADDR2LINE export TARGET := xen
Quoted 8 lines · Jan Beulich
Now that x86'es
check-endbr.shscript uses it, also make it available consistently with other tool chain components.Signed-off-by Jan Beulich <[email protected]>
Reviewed-by Luca Fancellu <[email protected]>
Cheers,
Luca
Quoted 34 lines
config/StdGNU.mk +0
-0@@ -10,6 +10,7 @@ endif
LD_LTO= $(CROSS_COMPILE)ld
endif
CPP = $(CC) -E
+ADDR2LINE = $(CROSS_COMPILE)addr2lineAR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib NM = $(CROSS_COMPILE)nmconfig/SunOS.mk +0
-0@@ -3,6 +3,7 @@ LD = $(CROSS_COMPILE)gldCC = $(CROSS_COMPILE)gcc CPP = $(CROSS_COMPILE)gcc -E CXX = $(CROSS_COMPILE)g++ +ADDR2LINE = $(CROSS_COMPILE)gaddr2line AR = $(CROSS_COMPILE)gar RANLIB = $(CROSS_COMPILE)granlib NM = $(CROSS_COMPILE)gnmxen/Makefile +0
-0@@ -55,7 +55,7 @@ export TARGET_ARCH := $(shell echo $ # Allow someone to change their config fileexport
KCONFIG_CONFIG?= .configxen/Makefile +1
-1-export CC CXX LD NM OBJCOPY OBJDUMP +export CC CXX LD NM OBJCOPY OBJDUMP ADDR2LINEexport TARGET := xen