]> git.baikalelectronics.ru Git - uboot.git/commit
fixdep: handle CONFIG_IS_ENABLE() and friends for TPL
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 16 Apr 2020 05:01:44 +0000 (14:01 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:51:32 +0000 (10:51 -0400)
commit3c2c7151b2680f9c3928ed05bd802086202794e3
tree7ead00d9ca4cf9c06308a8f3beb0c595e38e90b2
parented404432fadfe4a0a16d7d7d20c5bfe8cabea4dd
fixdep: handle CONFIG_IS_ENABLE() and friends for TPL

Since commit ffa5fa92e5bb ("spl: dm: use CONFIG_IS_ENABLED to test for
the DM option"), CONFIG_IS_ENABLED() handles CONFIG_TPL_* options, but
fixdep still cannot because it hard-codes the "SPL_" prefix as follows:

    char tmp_buf[256] = "SPL_"; /* hack for U-Boot */

Take care of the "TPL_" prefix too.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/basic/fixdep.c