summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-31 13:17:44 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-31 13:17:51 +0200
commitdf68d6eb15bfb3abe97c4048e57bd5192d796edb (patch)
tree0f1c25e8dcc8ee92842ee8fb87d7a8c89e8e28b2 /target/linux
parent62d4665551000b3c85077c48d059a2c796dffc68 (diff)
downloadmtk-20170518-df68d6eb15bfb3abe97c4048e57bd5192d796edb.zip
mtk-20170518-df68d6eb15bfb3abe97c4048e57bd5192d796edb.tar.gz
mtk-20170518-df68d6eb15bfb3abe97c4048e57bd5192d796edb.tar.bz2
brcm63xx: fix build with per-device rootfs
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm63xx/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index ca1792a..f5de673 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