image.mk: run LegacyDevice prepare once instead of once per filesystem

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-06-17 19:55:27 +02:00
parent 3004275c17
commit 425e2c1d96

View file

@ -463,9 +463,7 @@ define LegacyDevice/Build
.PHONY: legacy-image-prepare-$(1) legacy-image-$(1)
legacy-image-prepare-$(1):
$(foreach fs,$(TARGET_FILESYSTEMS),
$$(call Image/Prepare/Profile,$(1),$(fs))
)
$$(call Image/Prepare/Profile,$(1))
legacy-image-$(1):
$(foreach fs,$(TARGET_FILESYSTEMS),