add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff

SVN-Revision: 6310
This commit is contained in:
Felix Fietkau
2007-02-16 16:59:44 +00:00
parent 9b78ea021b
commit 8afbc2d617
3 changed files with 14 additions and 0 deletions

View File

@@ -226,6 +226,13 @@ $(eval $(call shexport,Target/Description))
download: $(DL_DIR)/$(LINUX_SOURCE)
prepare: $(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk
compile: $(LINUX_DIR)/.modules
menuconfig: $(LINUX_DIR)/.configured FORCE
$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig
$(SCRIPT_DIR)/config.pl $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config
ifeq ($(KERNEL),2.6)
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_PLATFORM_DIR)/config-template $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config-diff
endif
install: $(LINUX_DIR)/.image
clean: FORCE