Skip to content
Snippets Groups Projects
Commit 08066752 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig

SVN-Revision: 7997
parent 56ac6f5b
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,6 @@ menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FO ...@@ -93,7 +93,6 @@ menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FO
$< Config.in $< Config.in
kernel_menuconfig: .config FORCE kernel_menuconfig: .config FORCE
-$(MAKE) target/linux-prepare
$(NO_TRACE_MAKE) -C target/linux menuconfig $(NO_TRACE_MAKE) -C target/linux menuconfig
......
...@@ -98,15 +98,15 @@ define BuildKernel ...@@ -98,15 +98,15 @@ define BuildKernel
$(call Kernel/Prepare) $(call Kernel/Prepare)
touch $$@ touch $$@
$(STAMP_CONFIGURED): $(LINUX_DIR)/.prepared $(LINUX_CONFIG) $(STAMP_CONFIGURED): $(STAMP_PREPARED) $(LINUX_CONFIG) $(GENERIC_LINUX_CONFIG)
$(call Kernel/Configure) $(call Kernel/Configure)
touch $$@ touch $$@
$(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured $(LINUX_DIR)/.config FORCE $(LINUX_DIR)/.modules: $(STAMP_CONFIGURED) $(LINUX_DIR)/.config FORCE
$(call Kernel/CompileModules) $(call Kernel/CompileModules)
touch $$@ touch $$@
$(LINUX_DIR)/.image: $(LINUX_DIR)/.configured FORCE $(LINUX_DIR)/.image: $(STAMP_CONFIGURED) FORCE
$(call Kernel/CompileImage) $(call Kernel/CompileImage)
touch $$@ touch $$@
...@@ -169,11 +169,11 @@ endef ...@@ -169,11 +169,11 @@ endef
$(eval $(call shexport,Target/Description)) $(eval $(call shexport,Target/Description))
download: $(DL_DIR)/$(LINUX_SOURCE) download: $(DL_DIR)/$(LINUX_SOURCE)
prepare: $(LINUX_DIR)/.configured prepare: $(STAMP_CONFIGURED)
compile: $(LINUX_DIR)/.modules compile: $(LINUX_DIR)/.modules
menuconfig: $(LINUX_DIR)/.prepared FORCE menuconfig: $(STAMP_PREPARED) FORCE
$(call Kernel/Configure)
$(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)
$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG) $(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment