summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-22 13:26:37 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-22 13:58:58 +0200
commit11fc0cd1b1f80a9452863612f63f42863f02429b (patch)
tree22f3ceee5a61d00f28a467059877ae39d388a4ff
parent39429b3d208dd00fd46e5d2a42257f128241b82b (diff)
downloadmtk-20170518-11fc0cd1b1f80a9452863612f63f42863f02429b.zip
mtk-20170518-11fc0cd1b1f80a9452863612f63f42863f02429b.tar.gz
mtk-20170518-11fc0cd1b1f80a9452863612f63f42863f02429b.tar.bz2
image.mk: create default ubifs before calling legacy image build code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 47cb1a5..ccd07a4 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -485,7 +485,7 @@ define BuildImage
$(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))
$(foreach device,$(LEGACY_DEVICES),$(call LegacyDevice,$(device)))
- install-images: kernel_prepare $(foreach fs,$(filter-out ubifs,$(TARGET_FILESYSTEMS) $(fs-subtypes-y)),$(KDIR)/root.$(fs))
+ install-images: kernel_prepare $(foreach fs,$(filter-out $(if $(UBIFS_OPTS),,ubifs),$(TARGET_FILESYSTEMS) $(fs-subtypes-y)),$(KDIR)/root.$(fs))
$(foreach fs,$(TARGET_FILESYSTEMS),
$(call Image/Build,$(fs))
)