summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-06-26 16:51:06 +0000
committerStefan Reinauer <stepan@openbios.org>2006-06-26 16:51:06 +0000
commit0a683fa9c710251d3f673378cab2b78ff29cc38f (patch)
treeb4c0b27351a429836e7facea4e49982dbb7ca8c1
parent6472a0e274bbdd374cd2af70c890066f28d0a2dc (diff)
downloadcoreboot-0a683fa9c710251d3f673378cab2b78ff29cc38f.tar.xz
create valid xmlfiles that pass xmllint
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2333 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rwxr-xr-xutil/abuild/abuild.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh
index 87986b21f7..d8cb23dafb 100755
--- a/util/abuild/abuild.sh
+++ b/util/abuild/abuild.sh
@@ -298,12 +298,7 @@ function build_target
done
fi
- xml " <compiler>"
- xml " <path>`which ${CROSS_COMPILE}gcc`</path>"
- xml " <version>`${CROSS_COMPILE}gcc --version | head -1`</version>"
- xml " </compiler>"
- xml ""
-
+
# TBD: look for suitable cross compiler suite
# cross-$TARCH-gcc and cross-$TARCH-ld
@@ -311,9 +306,18 @@ function build_target
if [ $found_crosscompiler == "false" ]; then
echo " ($TARCH: skipped, we're $ARCH)"
echo
+ xml " <status>notbuilt</status>"
+ xml ""
+ xml "</mainboard>"
+
return 0
else
echo " ($TARCH: ok, we're $ARCH)"
+ xml " <compiler>"
+ xml " <path>`which ${CROSS_COMPILE}gcc`</path>"
+ xml " <version>`${CROSS_COMPILE}gcc --version | head -1`</version>"
+ xml " </compiler>"
+ xml ""
fi
fi