X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=include%2Fimage.mk;h=b0944287700de76ca24ea0b17641c465ff249e4f;hp=d00f779fe965f0088e448743638510083c2e30bc;hb=f245fd4d75e4e2881e474fc797b10f5a64259825;hpb=efdaf4ba5ef405847bdae5ec4b2270590401066d diff --git a/include/image.mk b/include/image.mk index d00f779fe9..b094428770 100644 --- a/include/image.mk +++ b/include/image.mk @@ -8,6 +8,9 @@ include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/host.mk + +override MAKEFLAGS= +override MAKE:=$(SUBMAKE) KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) ifneq ($(CONFIG_BIG_ENDIAN),y) @@ -94,14 +97,14 @@ define BuildImage download: prepare: ifneq ($(IB),1) - compile: compile-targets + compile: compile-targets FORCE $(call Build/Compile) else compile: endif ifneq ($(IB),1) - install: compile install-targets + install: compile install-targets FORCE $(call Image/Prepare) $(call Image/mkfs/prepare) $(call Image/BuildKernel)