kconfig: fix failing to generate auto.conf
authorJing Leng <jleng@ambarella.com>
Fri, 11 Feb 2022 09:27:36 +0000 (17:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Feb 2022 11:03:20 +0000 (12:03 +0100)
commit3f2bc7f028f6c545e518bfe47aee58b46cf5cc2a
treecef81ba2301764d951216f317087f01f621a18e0
parent88289d56cb28af9d10d8b79232979e744ea1e47f
kconfig: fix failing to generate auto.conf

[ Upstream commit 1b9e740a81f91ae338b29ed70455719804957b80 ]

When the KCONFIG_AUTOCONFIG is specified (e.g. export \
KCONFIG_AUTOCONFIG=output/config/auto.conf), the directory of
include/config/ will not be created, so kconfig can't create deps
files in it and auto.conf can't be generated.

Signed-off-by: Jing Leng <jleng@ambarella.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/kconfig/confdata.c