From df68d6eb15bfb3abe97c4048e57bd5192d796edb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 31 Jul 2016 13:17:44 +0200 Subject: [PATCH] brcm63xx: fix build with per-device rootfs Signed-off-by: Felix Fietkau --- target/linux/brcm63xx/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index ca1792abf0..f5de6734fe 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -98,7 +98,7 @@ $(shell expr substr "$(1)" 1 16) endef define Image/FileSystemStrip -$(subst root.,,$(notdir $(1))) +$(firstword $(subst +,$(space),$(subst root.,,$(notdir $(1))))) endef define Build/cfe-bin -- 2.30.2