mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
image: fix build issue with per-device rootfs and legacy devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
5e41c1d447
commit
14488469d5
@ -65,7 +65,7 @@ define LegacyDevice/Build
|
|||||||
ifndef IB
|
ifndef IB
|
||||||
ifdef CONFIG_TARGET_PER_DEVICE_ROOTFS
|
ifdef CONFIG_TARGET_PER_DEVICE_ROOTFS
|
||||||
ROOTFS/$(1) := $(foreach fs,$(TARGET_FILESYSTEMS), \
|
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))
|
$$(ROOTFS/$(1)): target-dir-$$(ROOTFS_ID/$(1))
|
||||||
|
Loading…
Reference in New Issue
Block a user