From: Felix Fietkau Date: Sun, 31 Jul 2016 10:38:01 +0000 (+0200) Subject: image: fix build issue with per-device rootfs and legacy devices X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=14488469d5aae0406b623426fac14f18e33e5d5c image: fix build issue with per-device rootfs and legacy devices Signed-off-by: Felix Fietkau --- diff --git a/include/image-legacy.mk b/include/image-legacy.mk index 9633500fd9..9960caba0c 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))