From: Ilias Apalodimas Date: Mon, 2 Mar 2026 08:55:07 +0000 (+0200) Subject: kbuild: fix cross_tools compilation X-Git-Tag: v2026.04-rc5~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cbb1c4d99780a8b0e476dcd10fb242a5c823bd3;p=thirdparty%2Fu-boot.git 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 Signed-off-by: Ilias Apalodimas Tested-by: Frieder Schrempf --- diff --git a/tools/Makefile b/tools/Makefile index 0ac683ac3ec..5d8e8f349e1 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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