add extra targets to improve make tracing output
authorFelix Fietkau <nbd@openwrt.org>
Sun, 25 Jun 2006 16:59:19 +0000 (16:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 25 Jun 2006 16:59:19 +0000 (16:59 +0000)
SVN-Revision: 4078

openwrt/include/kernel-build.mk

index dfd422744790ae233df58c207f79d070e1c20787..706764db5819aea93a2b198f4d9d66e9a22c89b1 100644 (file)
@@ -8,6 +8,7 @@ LINUX_SITE=http://www.us.kernel.org/pub/linux/kernel/v$(KERNEL) \
 
 KERNEL_IDIR:=$(KERNEL_BUILD_DIR)/kernel-ipkg
 KERNEL_IPKG:=$(KERNEL_BUILD_DIR)/kernel_$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)_$(ARCH).ipk
+TARGETS += $(KERNEL_IPKG)
 INSTALL_TARGETS += $(KERNEL_IPKG)
 
 $(TARGETS): $(PACKAGE_DIR)
@@ -74,8 +75,12 @@ $(LINUX_DIR)/.modules_done:
        $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" DEPMOD=true INSTALL_MOD_PATH=$(KERNEL_BUILD_DIR)/modules modules_install
        touch $(LINUX_DIR)/.modules_done
 
+modules: $(LINUX_DIR)/.modules_done
+packages: $(TARGETS)
+
 $(STAMP_DIR)/.linux-compile:
-       @$(MAKE) $(LINUX_DIR)/.modules_done $(TARGETS) $(KERNEL_IPKG)
+       @$(MAKE) modules
+       @$(MAKE) packages
        ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
        touch $@