]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fixdep: remove multiple .config support code
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 27 Feb 2015 15:37:57 +0000 (00:37 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:24:12 +0000 (14:24 +0200)
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 == '_')