cleanup/rewrite of the kernel build process

SVN-Revision: 5226
This commit is contained in:
Felix Fietkau
2006-10-19 06:20:55 +00:00
parent ae439d6682
commit 2665d7f09e
17 changed files with 140 additions and 186 deletions

View File

@@ -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