add kernel_oldconfig target

SVN-Revision: 8003
This commit is contained in:
Felix Fietkau 2007-07-16 10:03:03 +00:00
parent 3e87d642f7
commit 6178152ee8
3 changed files with 6 additions and 4 deletions

View File

@ -92,10 +92,12 @@ menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FO
fi fi
$< Config.in $< Config.in
kernel_oldconfig: .config FORCE
$(NO_TRACE_MAKE) -C target/linux oldconfig
kernel_menuconfig: .config FORCE kernel_menuconfig: .config FORCE
$(NO_TRACE_MAKE) -C target/linux menuconfig $(NO_TRACE_MAKE) -C target/linux menuconfig
package/% target/%: tmp/.packageinfo package/% target/%: tmp/.packageinfo
toolchain/% package/% target/%: tmp/.targetinfo toolchain/% package/% target/%: tmp/.targetinfo
package/% target/% tools/% toolchain/%: FORCE package/% target/% tools/% toolchain/%: FORCE

View File

@ -171,10 +171,10 @@ $(eval $(call shexport,Target/Description))
download: $(DL_DIR)/$(LINUX_SOURCE) download: $(DL_DIR)/$(LINUX_SOURCE)
prepare: $(STAMP_CONFIGURED) prepare: $(STAMP_CONFIGURED)
compile: $(LINUX_DIR)/.modules 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 $(SCRIPT_DIR)/config.pl '+' $(GENERIC_LINUX_CONFIG) $(LINUX_CONFIG) > $(LINUX_DIR)/.config
$(call Kernel/Configure) $(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) $(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
install: $(LINUX_DIR)/.image install: $(LINUX_DIR)/.image

View File

@ -7,6 +7,6 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.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) $@ $(MAKE) -C $(BOARD)-$(KERNEL) $@