Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/422
-gerrit
commit 2562633abcc66b2fc908e00f7b6f5eb2a22f0473 Author: Patrick Georgi patrick@georgi-clan.de Date: Mon Nov 7 19:01:54 2011 +0100
abuild: Don't try to use files that don't exist
Collecting per-board abuild.xml is bound to fail if there are no such files.
Change-Id: I6bd6b4389beda51654005e0380f0e52f006642db Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/abuild/abuild | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild index 8b81ea1..78a4718 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -656,7 +656,7 @@ if [ "$target" != "" ]; then fi build_target $VENDOR $MAINBOARD $CONFIG test_target $VENDOR $MAINBOARD - cat $TARGET/${VENDOR}_${MAINBOARD}/abuild.xml >> $REAL_XMLFILE + test "$mode" != "text" && cat $TARGET/${VENDOR}_${MAINBOARD}/abuild.xml >> $REAL_XMLFILE XMLFILE=$REAL_XMLFILE else # build all boards per default @@ -667,9 +667,11 @@ else remove_target $VENDOR $MAINBOARD done done - for xmlfile in $TARGET/*_*/abuild.xml; do - cat $xmlfile >> $REAL_XMLFILE - done + if [ "$mode" != "text" ]; then + for xmlfile in $TARGET/*_*/abuild.xml; do + cat $xmlfile >> $REAL_XMLFILE + done + fi XMLFILE=$REAL_XMLFILE fi xml '</abuild>'