aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-03 01:21:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-03 01:21:41 +0000
commitd6666fdd40872ba03f2a5029cd0e32ae807befd0 (patch)
treed218a77be0261103f905c2c40808626dc5028ba4 /include
parent0f74fa296c1b76ad1cb809b790dea7640e3c0562 (diff)
downloadupstream-d6666fdd40872ba03f2a5029cd0e32ae807befd0.tar.gz
upstream-d6666fdd40872ba03f2a5029cd0e32ae807befd0.tar.bz2
upstream-d6666fdd40872ba03f2a5029cd0e32ae807befd0.zip
fix image installation
SVN-Revision: 8324
Diffstat (limited to 'include')
-rw-r--r--include/image.mk7
-rw-r--r--include/kernel-build.mk4
2 files changed, 7 insertions, 4 deletions
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)
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index b3fcd9056f..da1fe39bca 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -174,7 +174,7 @@ oldconfig menuconfig: $(STAMP_PREPARED) FORCE
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
install: $(LINUX_DIR)/.image
- $(MAKE) -C image install
+ $(MAKE) -C image compile install
clean: FORCE
rm -f $(STAMP_DIR)/.linux-compile
@@ -188,6 +188,6 @@ rebuild: FORCE
@$(MAKE) compile
image-prereq:
- $(MAKE) -s -C image prereq
+ $(SUBMAKE) -s -C image prereq
prereq: image-prereq