Re: [PATCH v2] kbuild: fix interaction of CONFIG_IKCONFIG andKCONFIG_CONFIG

From: Michal Marek
Date: Tue Dec 14 2010 - 17:18:16 EST


On Tue, Dec 14, 2010 at 11:39:44AM -0500, Ben Gardiner wrote:
> 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 14cdd3c402bf7c66f0bcd76e290f0770a54a4b21.
>
> Signed-off-by: Ben Gardiner <bengardiner@xxxxxxxxxxxxxx>
> CC: Roman Zippel <zippel@xxxxxxxxxxxxxx>
> CC: Michal Marek <mmarek@xxxxxxx>
> Reviewed-by: Michal Marek <mmarek@xxxxxxx>
>
> ---
>
> changes since v1:
> * rebased to 6313e3c21743cc88bb5bd8aa72948ee1e83937b6 of
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> * export KCONFIG_CONFIG from top-level Makefile (Michal Marek)

Thanks, applied to kbuild-2.6.git#kbuild.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/