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:
parent
bbbfd9d190
commit
20c6f631aa
|
@ -0,0 +1,3 @@
|
|||
# This mainboard directory can't be built without
|
||||
# an extra set of config files.
|
||||
TARCH=SKIP
|
|
@ -0,0 +1,2 @@
|
|||
# Target architecture can't be parsed here.
|
||||
TARCH=ppc
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue