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
This commit is contained in:
Stefan Reinauer 2005-12-04 00:00:15 +00:00
parent bbbfd9d190
commit 20c6f631aa
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,3 @@
# This mainboard directory can't be built without
# an extra set of config files.
TARCH=SKIP

View File

@ -0,0 +1,2 @@
# Target architecture can't be parsed here.
TARCH=ppc

View File

@ -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