From 043ac6c8ed76ff5a1f3b84a6f2f5f12edfedc93c Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Oct 2006 06:20:55 +0000 Subject: cleanup/rewrite of the kernel build process git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5226 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/kernel.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/kernel.mk') diff --git a/include/kernel.mk b/include/kernel.mk index 42c9cdf3a..1ab85d4cc 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -18,12 +18,11 @@ else LINUX_VERSION:=$(CONFIG_LINUX_VERSION) LINUX_RELEASE:=$(CONFIG_LINUX_RELEASE) LINUX_KARCH:=$(CONFIG_LINUX_KARCH) - else - # oops, old .kernel.config; rebuild it (hiding the misleading errors this produces) - $(warning rebuilding .kernel.mk) - $(TOPDIR)/.kernel.mk: FORCE + else ifneq ($(KERNEL_BUILD),1) - $(TOPDIR)/.kernel.mk: + # oops, old .kernel.config; rebuild it (hiding the misleading errors this produces) + $(warning rebuilding .kernel.mk) + $(TOPDIR)/.kernel.mk: FORCE @$(MAKE) -C $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL) $@ &>/dev/null endif endif -- cgit v1.2.3