mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Makefile: make GNU_HOST_NAME a simply expanded variable (:=)
GNU_HOST_NAME is referred more than 100 times in the tree, used 5 times during startup, and is relatively expensive to run - so make it a simple expanded variable (:=) rather than recursively expanded one (=). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
2
Makefile
2
Makefile
@@ -153,7 +153,7 @@ cc-option=$(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev
|
|||||||
unexport CROSS_COMPILE
|
unexport CROSS_COMPILE
|
||||||
unexport ARCH
|
unexport ARCH
|
||||||
|
|
||||||
GNU_HOST_NAME=$(shell package/gnuconfig/config.guess)
|
GNU_HOST_NAME:=$(shell package/gnuconfig/config.guess)
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user