U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] fixdep: remove multiple .config support code
@ 2015-02-27 15:37 Masahiro Yamada
  2015-03-02 16:03 ` Simon Glass
  2015-03-06 15:47 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-02-27 15:37 UTC (permalink / raw)
  To: u-boot

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>
---
Tom,

Sorry, this is an urgent bug fix.

 scripts/basic/fixdep.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index 1a41723..b304068 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 == '_')
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] fixdep: remove multiple .config support code
  2015-02-27 15:37 [U-Boot] [PATCH] fixdep: remove multiple .config support code Masahiro Yamada
@ 2015-03-02 16:03 ` Simon Glass
  2015-03-06 15:47 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2015-03-02 16:03 UTC (permalink / raw)
  To: u-boot

On 27 February 2015 at 08:37, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> 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>
> ---
> Tom,
>
> Sorry, this is an urgent bug fix.
>
>  scripts/basic/fixdep.c | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

>
> diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
> index 1a41723..b304068 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 == '_')
> --
> 1.9.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] fixdep: remove multiple .config support code
  2015-02-27 15:37 [U-Boot] [PATCH] fixdep: remove multiple .config support code Masahiro Yamada
  2015-03-02 16:03 ` Simon Glass
@ 2015-03-06 15:47 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2015-03-06 15:47 UTC (permalink / raw)
  To: u-boot

On Sat, Feb 28, 2015 at 12:37:57AM +0900, Masahiro Yamada wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150306/9b99044b/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-06 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 15:37 [U-Boot] [PATCH] fixdep: remove multiple .config support code Masahiro Yamada
2015-03-02 16:03 ` Simon Glass
2015-03-06 15:47 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox