firmware/br-ext-chip-sigmastar/board/infinity6b0/kernel/patches/0003-fix-makefile.patch

25 lines
799 B
Diff

--- a/makefile 2021-05-16 02:02:11.148664390 +0300
+++ b/makefile 2021-05-18 02:04:02.210673988 +0300
@@ -4,8 +4,10 @@
# additional $(MAKEFLAGS) with 'w' passed
# use $(filter-out w,$(MAKEFLAGS)) instead of $(MAKEFLAGS)
-%: force
- @$(MAKE) -f Makefile $(filter-out w,$(MAKEFLAGS)) $@
+%: force
+# -w already filtered by buildroot
+ @$(MAKE) -f Makefile $@
+# @$(MAKE) -f Makefile $(filter-out w,$(MAKEFLAGS)) $@
%_defconfig: force
@echo "Extract CHIP NAME ($(firstword $(subst _, ,$@))) to $(SSTAR_CHIP_FILE)"
@@ -13,7 +15,7 @@
@echo $(strip $(firstword $(subst _, ,$@))) > $(SSTAR_CHIP_FILE)
@$(MAKE) -f Makefile $(filter-out w,$(MAKEFLAGS)) $@
-GNUmakefile: force
+GNUmakefile: force
@$(MAKE) -f Makefile $(filter-out w,$(MAKEFLAGS)) $(filter-out GNUmakefile,$@)
makefile:;