Преглед на файлове

brcm63xx: fix build with per-device rootfs

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau преди 9 години
родител
ревизия
df68d6eb15
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      target/linux/brcm63xx/image/Makefile

+ 1 - 1
target/linux/brcm63xx/image/Makefile

@@ -98,7 +98,7 @@ $(shell expr substr "$(1)" 1 16)
 endef
 endef
 
 
 define Image/FileSystemStrip
 define Image/FileSystemStrip
-$(subst root.,,$(notdir $(1)))
+$(firstword $(subst +,$(space),$(subst root.,,$(notdir $(1)))))
 endef
 endef
 
 
 define Build/cfe-bin
 define Build/cfe-bin