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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44979 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2015-03-25 14:30:53 +00:00
parent e11b30a987
commit 8db4079bb3
1 changed files with 2 additions and 0 deletions

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