mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
kbuild: fix cross_tools compilation
Frieder reports that after the kbuild sync running
make tools-only_defconfig
make cross_tools
fails with
UPD include/generated/timestamp_autogenerated.h
PYMOD rebuild
tools/Makefile:359: *** insufficient number of arguments (1) to function
'filter'. Stop.
make: *** [Makefile:2191: tools] Error 2
After the sync 'hostprogs-always-y' contains the complete list of
the tools we need to strip, so the $(filter) command is not needed.
Fixes: bd3f9ee679b4d ("kbuild: Bump the build system to 6.1")
Reported-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
This commit is contained in:
parent
ba7bf918da
commit
4cbb1c4d99
@ -356,7 +356,7 @@ override HOSTCFLAGS = $(CFLAGS)
|
||||
|
||||
quiet_cmd_crosstools_strip = STRIP $^
|
||||
cmd_crosstools_strip = $(STRIP) $^; touch $@
|
||||
$(obj)/.strip: $(call objectify,$(filter $(hostprogs-always-y)))
|
||||
$(obj)/.strip: $(call objectify,$(hostprogs-always-y))
|
||||
$(call cmd,crosstools_strip)
|
||||
|
||||
always-y += .strip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user