summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-12-04 00:00:15 +0000
committerStefan Reinauer <stepan@openbios.org>2005-12-04 00:00:15 +0000
commit20c6f631aa298184cfdf1d70fae841e473b03789 (patch)
treeabdb66179874baed38e67c5bf715a5deccf52841 /util
parentbbbfd9d1906cb2d99385eae845a13a311f77ef78 (diff)
downloadcoreboot-20c6f631aa298184cfdf1d70fae841e473b03789.tar.xz
abuild changes to allow ignoring dummy directories and injecting architectures.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2128 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh
index 2d5ebbc3f0..a650a33d6f 100755
--- a/util/abuild/abuild.sh
+++ b/util/abuild/abuild.sh
@@ -87,7 +87,7 @@ option CROSS_COMPILE="CROSS_PREFIX"
option HOSTCC="CROSS_HOSTCC"
EOF
- if [ $TARCH == i386 ] ; then
+ if [ "$TARCH" == i386 ] ; then
cat <<EOF
romimage "normal"
option USE_FALLBACK_IMAGE=0
@@ -226,6 +226,9 @@ function build_target
echo -n "Processing mainboard/$VENDOR/$MAINBOARD"
+ [ -r "$LBROOT/src/mainboard/${VENDOR}/${MAINBOARD}/abuild.info" ] && \
+ source $LBROOT/src/mainboard/${VENDOR}/${MAINBOARD}/abuild.info
+
if [ "$ARCH" == "$TARCH" ]; then
echo " ($TARCH: ok)"
else