Skip to content
Snippets Groups Projects
Commit 41263fc6 authored by Ben Gardiner's avatar Ben Gardiner Committed by Michal Marek
Browse files

kbuild: fix interaction of CONFIG_IKCONFIG and KCONFIG_CONFIG


If you try to build a kernel with KCONFIG_CONFIG set (to a value
not equal to .config) and that config sets CONFIG_IKCONFIG then the
build will fail with:

make[1]: *** No rule to make target `.config', needed by \
`kernel/config_data.gz'.  Stop.

because the kernel/Makefile contains a direct reference to .config.

This issue has been present since the introduction of KCONFIG_CONFIG
in 14cdd3c4.

Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
CC: Roman Zippel <zippel@linux-m68k.org>
CC: Michal Marek <mmarek@suse.cz>
Reviewed-by: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent ba9effa2
No related branches found
No related tags found
No related merge requests found
Loading
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