From 6178152ee8de00d79a63a4208337e72b7284d790 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 16 Jul 2007 10:03:03 +0000 Subject: [PATCH] add kernel_oldconfig target SVN-Revision: 8003 --- Makefile | 4 +++- include/kernel-build.mk | 4 ++-- target/linux/Makefile | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2d3758df382..dbb4a0cce17 100644 --- a/Makefile +++ b/Makefile @@ -92,10 +92,12 @@ menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FO fi $< Config.in +kernel_oldconfig: .config FORCE + $(NO_TRACE_MAKE) -C target/linux oldconfig + kernel_menuconfig: .config FORCE $(NO_TRACE_MAKE) -C target/linux menuconfig - package/% target/%: tmp/.packageinfo toolchain/% package/% target/%: tmp/.targetinfo package/% target/% tools/% toolchain/%: FORCE diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 1df80d16f6f..1e63279c081 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -171,10 +171,10 @@ $(eval $(call shexport,Target/Description)) download: $(DL_DIR)/$(LINUX_SOURCE) prepare: $(STAMP_CONFIGURED) compile: $(LINUX_DIR)/.modules -menuconfig: $(STAMP_PREPARED) FORCE +oldconfig menuconfig: $(STAMP_PREPARED) FORCE $(SCRIPT_DIR)/config.pl '+' $(GENERIC_LINUX_CONFIG) $(LINUX_CONFIG) > $(LINUX_DIR)/.config $(call Kernel/Configure) - $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig + $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $@ $(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG) install: $(LINUX_DIR)/.image diff --git a/target/linux/Makefile b/target/linux/Makefile index e1248691501..5a1ca723a63 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -7,6 +7,6 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk -clean download prepare compile install menuconfig update refresh: FORCE +clean download prepare compile install menuconfig oldconfig update refresh: FORCE $(MAKE) -C $(BOARD)-$(KERNEL) $@