瀏覽代碼

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
 
 define Image/FileSystemStrip
-$(subst root.,,$(notdir $(1)))
+$(firstword $(subst +,$(space),$(subst root.,,$(notdir $(1)))))
 endef
 
 define Build/cfe-bin