image.mk: allow image build code to run a per-filesystem prepare step
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 14:30:53 +0000 (14:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 14:30:53 +0000 (14:30 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44979

include/image.mk

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