image.mk: allow image build code to run a per-filesystem prepare step

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44979
This commit is contained in:
Felix Fietkau 2015-03-25 14:30:53 +00:00
parent fafa3f57e3
commit ab43a5abd0

View file

@ -268,6 +268,8 @@ define BuildImage/mkfs
.PHONY: mkfs-$(1) .PHONY: mkfs-$(1)
mkfs-$(1): mkfs_prepare mkfs-$(1): mkfs_prepare
$(Image/mkfs/$(1)) $(Image/mkfs/$(1))
$(call Build/mkfs/default,$(1))
$(call Build/mkfs/$(1),$(1))
$(KDIR)/root.$(1): mkfs-$(1) $(KDIR)/root.$(1): mkfs-$(1)
endef endef