Skip to contentSkip to conversation

MIPS: zboot: fix 'make clean' failure

PATCH New Arnd Bergmann 1 participant 1 message Jan 18, 2017 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 MIPS: zboot: fix 'make clean' failure

The filter-out macro needs two arguments, passing only one is clearly the result of a typo that leads to 'make clean' failing on MIPS:

arch/mips/boot/compressed/Makefile:21: *** insufficient number of arguments (1) to function 'filter-out'. Stop.

Fixes afca036d463c ("MIPS: zboot: Consolidate compiler flag filtering.")

---
v2: remove stale unrelated change

---
 arch/mips/boot/compressed/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/compressed/Makefile +1 -1
index 608389a4a418..c675eece389a 100644
@@ -18,7 +18,7 @@ include $(srctree)/arch/mips/Kbuild.platforms
 BOOT_HEAP_SIZE := 0x400000
 
 # Disable Function Tracer
-KBUILD_CFLAGS := $(filter-out -pg $(KBUILD_CFLAGS))
+KBUILD_CFLAGS := $(filter-out -pg, $(KBUILD_CFLAGS))
 
 KBUILD_CFLAGS := $(filter-out -fstack-protector, $(KBUILD_CFLAGS))
 
Signature · 1 line
2.9.0