From: Allen Martin <amartin@nvidia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc
Date: Mon, 6 Aug 2012 17:04:28 -0700 [thread overview]
Message-ID: <1344297868-20469-1-git-send-email-amartin@nvidia.com> (raw)
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
next reply other threads:[~2012-08-07 0:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 0:04 Allen Martin [this message]
2012-08-07 0:07 ` [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc Allen Martin
2012-08-07 6:54 ` Albert ARIBAUD
2012-08-07 0:11 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1344297868-20469-1-git-send-email-amartin@nvidia.com \
--to=amartin@nvidia.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.