fix x86 image build order (fixes #3317)
[openwrt/svn-archive/archive.git] / target / linux / x86 / image / Makefile
index 7af4348..6649670 100644 (file)
@@ -96,9 +96,9 @@ define Image/BuildKernel
 endef
 
 define Image/Build
+       $(call Image/Build/$(1))
        $(call Image/Build/grub,$(1))
        $(call Image/Build/vdi,$(1))
-       $(call Image/Build/$(1))
        $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(1).fs
        $(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD)-vmlinuz
 endef