mkconfig: fix failure on boards that don't define soc
PATCH 1/1 mkconfig: fix failure on boards that don't define soc
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.
--- mkconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mkconfig +2 -1
@@ -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
Signature · 1 line
1.7.9.5
PATCH 1/1 mkconfig: fix failure on boards that don't define soc
Quoted 5 lines · Allen Martin
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 <[email protected]>
I ran a full MAKEALL -a arm on a system where I reproduced the failure on jornada previously and it ran clean.
-Allen
Signature · 1 line
nvpublic
PATCH 1/1 mkconfig: fix failure on boards that don't define soc
Hi Allen,
Quoted 5 lines · Allen Martin
Quoted 4 lines · Allen Martin
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.
Quoted 7 lines
Quoted 1 line
Signed-off-by Allen Martin <[email protected]>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,
Signature · 1 line
Albert.
PATCH 1/1 mkconfig: fix failure on boards that don't define soc
In reply to Allen Martin-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>