mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS
When CROSS_BUILD_TOOLS is set, set HOSTCFLAGS to CFLAGS otherwise CC will be used with HOSTCFLAGS which seems wrong Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
parent
d66f4fe982
commit
72c69ea8d6
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ subdir- += env
|
|||
|
||||
ifneq ($(CROSS_BUILD_TOOLS),)
|
||||
override HOSTCC = $(CC)
|
||||
override HOSTCFLAGS = $(CFLAGS)
|
||||
|
||||
quiet_cmd_crosstools_strip = STRIP $^
|
||||
cmd_crosstools_strip = $(STRIP) $^; touch $@
|
||||
|
|
Loading…
Reference in a new issue