fix pcmcia submenu (broken by [8520])
[openwrt.git] / include / kernel-build.mk
index b3fcd90..0d3b40e 100644 (file)
@@ -6,7 +6,6 @@
 #
 KERNEL_BUILD:=1
 
-include $(INCLUDE_DIR)/kernel-version.mk
 include $(INCLUDE_DIR)/host.mk
 include $(INCLUDE_DIR)/kernel.mk
 include $(INCLUDE_DIR)/prereq.mk
@@ -167,6 +166,8 @@ $(eval $(call shexport,Target/Description))
 download: $(DL_DIR)/$(LINUX_SOURCE)
 prepare: $(STAMP_CONFIGURED)
 compile: $(LINUX_DIR)/.modules
+       $(MAKE) -C image compile
+
 oldconfig menuconfig: $(STAMP_PREPARED) FORCE
        $(call Kernel/Configure)
        $(SCRIPT_DIR)/config.pl '+' $(GENERIC_LINUX_CONFIG) $(LINUX_CONFIG) > $(LINUX_DIR)/.config
@@ -174,7 +175,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 +189,6 @@ rebuild: FORCE
        @$(MAKE) compile
 
 image-prereq:
-       $(MAKE) -s -C image prereq
+       $(SUBMAKE) -s -C image prereq
 
 prereq: image-prereq
This page took 0.023579 seconds and 4 git commands to generate.