From: Masahiro Yamada Date: Fri, 27 Feb 2015 15:37:57 +0000 (+0900) Subject: fixdep: remove multiple .config support code X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=fc196d0e9b917762f25f6226a4adf93741339efb;p=u-boot.git fixdep: remove multiple .config support code Since commit e02ee2548afe (kconfig: switch to single .config configuration), the ".*.cmd" files are not correctly created for SPL/TPL. The U-Boot extension code in fixdep, which was introduced to support the multiple .config, must be removed. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 1a41723823..b30406860b 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -221,11 +221,7 @@ static void use_config(const char *m, int slen) define_config(m, slen, hash); - /* printf(" $(wildcard include/config/"); */ - /* modified for U-Boot */ - printf(" $(wildcard %sinclude/config/", - strncmp(depfile, "spl/", 4) ? - (strncmp(depfile, "tpl/", 4) ? "" : "tpl/") : "spl/"); + printf(" $(wildcard include/config/"); for (i = 0; i < slen; i++) { c = m[i]; if (c == '_')