fixdep: remove multiple .config support code
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 27 Feb 2015 15:37:57 +0000 (00:37 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2015 01:50:30 +0000 (20:50 -0500)
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 <yamada.m@jp.panasonic.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/basic/fixdep.c

index 1a4172382373d55e8bc7251cff300adf96ae3b2d..b30406860b7397881e4e6ffeedcda1f5b2959cc0 100644 (file)
@@ -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 == '_')