diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-25 16:59:19 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-25 16:59:19 +0000 |
commit | e73df5567cc022dcbc5e11975886e799fcfb2f72 (patch) | |
tree | 41d98ab393ee5ef20dd0523d0ea66b2d516b27b0 | |
parent | 2cb5343fc18be5153b476147c0f3fd142cb36cba (diff) |
add extra targets to improve make tracing output
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4078 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/kernel-build.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk index dfd422744..706764db5 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -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 $@ |