build: make mkfs-* depend on kernel installation to fix parallel build issues

Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47296
This commit is contained in:
Felix Fietkau 2015-10-30 22:01:27 +00:00
parent d89b1ea706
commit d495ef6d59

View file

@ -282,7 +282,7 @@ endef
define BuildImage/mkfs define BuildImage/mkfs
install: mkfs-$(1) install: mkfs-$(1)
.PHONY: mkfs-$(1) .PHONY: mkfs-$(1)
mkfs-$(1): mkfs_prepare mkfs-$(1): kernel_prepare
$(Image/mkfs/$(1)) $(Image/mkfs/$(1))
$(call Build/mkfs/default,$(1)) $(call Build/mkfs/default,$(1))
$(call Build/mkfs/$(1),$(1)) $(call Build/mkfs/$(1),$(1))