diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-16 17:28:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-16 17:28:22 +0000 |
commit | 509bb267a32dbc4f9a663683e1de42e3fec31e63 (patch) | |
tree | 5e5e3586ccb7951c163517133525a2fe7b5c83b0 /include | |
parent | 20db49bf2c9e116bb8da9157facf9527a745452b (diff) | |
download | mtk-20170518-509bb267a32dbc4f9a663683e1de42e3fec31e63.zip mtk-20170518-509bb267a32dbc4f9a663683e1de42e3fec31e63.tar.gz mtk-20170518-509bb267a32dbc4f9a663683e1de42e3fec31e63.tar.bz2 |
make kernel_menuconfig work without target toolchain
SVN-Revision: 6312
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-build.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 24e7e85..23e694d 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -92,7 +92,6 @@ define Kernel/Configure/2.6 endef define Kernel/Configure/Default @$(CP) $(LINUX_CONFIG) $(LINUX_DIR)/.config - $(call Kernel/Configure/$(KERNEL)) endef define Kernel/Configure $(call Kernel/Configure/Default) @@ -163,6 +162,7 @@ define BuildKernel $(LINUX_DIR)/.configured: $(LINUX_DIR)/.prepared $(LINUX_CONFIG) $(call Kernel/Configure) + $(call Kernel/Configure/$(KERNEL)) touch $$@ $(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured @@ -226,7 +226,8 @@ $(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 +menuconfig: $(LINUX_DIR)/.prepared FORCE + $(call Kernel/Configure) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig $(SCRIPT_DIR)/config.pl $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config ifeq ($(KERNEL),2.6) |