[source] image: fix build issue with per-device rootfs and legacy devices

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 31 03:45:29 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=14488469d5aae0406b623426fac14f18e33e5d5c

commit 14488469d5aae0406b623426fac14f18e33e5d5c
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Jul 31 12:38:01 2016 +0200

    image: fix build issue with per-device rootfs and legacy devices
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 include/image-legacy.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image-legacy.mk b/include/image-legacy.mk
index 9633500..9960cab 100644
--- a/include/image-legacy.mk
+++ b/include/image-legacy.mk
@@ -65,7 +65,7 @@ define LegacyDevice/Build
   ifndef IB
     ifdef CONFIG_TARGET_PER_DEVICE_ROOTFS
       ROOTFS/$(1) := $(foreach fs,$(TARGET_FILESYSTEMS), \
-        $(KDIR)/root.$(fs)$$(strip $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),+pkg=$$(ROOTFS_ID/$(1))))
+        $(KDIR)/root.$(fs)$$(strip $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),+pkg=$$(ROOTFS_ID/$(1)))) \
       )
 
       $$(ROOTFS/$(1)): target-dir-$$(ROOTFS_ID/$(1))



More information about the lede-commits mailing list