move $(MAKE) packages from .linux-compile: to compile:
authorFelix Fietkau <nbd@openwrt.org>
Sun, 27 Aug 2006 13:22:42 +0000 (13:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 27 Aug 2006 13:22:42 +0000 (13:22 +0000)
SVN-Revision: 4689

openwrt/include/kernel-build.mk

index 5e4534281a70f3d3d451ee86c96fc757d6d986f7..c5b3668481b2e24c3af435be54b0dc004dba4d92 100644 (file)
@@ -82,7 +82,6 @@ $(LINUX_DIR)/.linux-compile:
        @rm -f $(BUILD_DIR)/linux
        ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
        @$(MAKE) modules
-       @$(MAKE) packages
        touch $@
 
 $(KERNEL_IPKG):
@@ -110,6 +109,7 @@ prepare: $(LINUX_DIR)/.configured
        @mkdir -p $(LINUX_DIR) $(PACKAGE_DIR)
 
 compile: prepare $(LINUX_DIR)/.linux-compile
+       @$(MAKE) packages
 
 install: compile $(LINUX_KERNEL)