public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc
@ 2012-08-07  0:04 Allen Martin
  2012-08-07  0:07 ` Allen Martin
  2012-08-07  0:11 ` Mike Frysinger
  0 siblings, 2 replies; 4+ messages in thread
From: Allen Martin @ 2012-08-07  0:04 UTC (permalink / raw)
  To: u-boot

Fix a configure failure on boards that don't define soc.  The exit
status of the subshell was propogating up and causing mkconfig to
fail.  Add an explicit exit 0 to the subshell to fix this.

Signed-off-by: Allen Martin <amartin@nvidia.com>
---
 mkconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mkconfig b/mkconfig
index 07031c6..d3363c6 100755
--- a/mkconfig
+++ b/mkconfig
@@ -144,7 +144,8 @@ fi
     echo "BOARD  = ${board}"
 
     [ "${vendor}" ] && echo "VENDOR = ${vendor}"
-    [ "${soc}"    ] && echo "SOC    = ${soc}" ) > config.mk
+    [ "${soc}"    ] && echo "SOC    = ${soc}"
+    exit 0 ) > config.mk
 
 # Assign board directory to BOARDIR variable
 if [ -z "${vendor}" ] ; then
-- 
1.7.9.5

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

* [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc
  2012-08-07  0:04 [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc Allen Martin
@ 2012-08-07  0:07 ` Allen Martin
  2012-08-07  6:54   ` Albert ARIBAUD
  2012-08-07  0:11 ` Mike Frysinger
  1 sibling, 1 reply; 4+ messages in thread
From: Allen Martin @ 2012-08-07  0:07 UTC (permalink / raw)
  To: u-boot

On Mon, Aug 06, 2012 at 05:04:28PM -0700, Allen Martin wrote:
> Fix a configure failure on boards that don't define soc.  The exit
> status of the subshell was propogating up and causing mkconfig to
> fail.  Add an explicit exit 0 to the subshell to fix this.
> 
> Signed-off-by: Allen Martin <amartin@nvidia.com>

I ran a full MAKEALL -a arm on a system where I reproduced the failure
on jornada previously and it ran clean.


-Allen
-- 
nvpublic

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

* [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc
  2012-08-07  0:04 [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc Allen Martin
  2012-08-07  0:07 ` Allen Martin
@ 2012-08-07  0:11 ` Mike Frysinger
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-08-07  0:11 UTC (permalink / raw)
  To: u-boot

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120806/29356931/attachment.pgp>

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

* [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc
  2012-08-07  0:07 ` Allen Martin
@ 2012-08-07  6:54   ` Albert ARIBAUD
  0 siblings, 0 replies; 4+ messages in thread
From: Albert ARIBAUD @ 2012-08-07  6:54 UTC (permalink / raw)
  To: u-boot

Hi Allen,

On Mon, 6 Aug 2012 17:07:25 -0700, Allen Martin <amartin@nvidia.com> wrote:
> On Mon, Aug 06, 2012 at 05:04:28PM -0700, Allen Martin wrote:
> > Fix a configure failure on boards that don't define soc.  The exit
> > status of the subshell was propogating up and causing mkconfig to
> > fail.  Add an explicit exit 0 to the subshell to fix this.
> > 
> > Signed-off-by: Allen Martin <amartin@nvidia.com>
> 
> I ran a full MAKEALL -a arm on a system where I reproduced the failure
> on jornada previously and it ran clean.
> 
> 
> -Allen

Sorry, Allen, missed this. I'd rather have this fix directly corrected in the
original tegra/master commit so that bisecting remains feasible around this.
 
Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2012-08-07  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07  0:04 [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc Allen Martin
2012-08-07  0:07 ` Allen Martin
2012-08-07  6:54   ` Albert ARIBAUD
2012-08-07  0:11 ` Mike Frysinger

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