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:
3
src/mainboard/motorola/sandpoint/abuild.info
Normal file
3
src/mainboard/motorola/sandpoint/abuild.info
Normal file
@@ -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"
|
option HOSTCC="CROSS_HOSTCC"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if [ $TARCH == i386 ] ; then
|
if [ "$TARCH" == i386 ] ; then
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
romimage "normal"
|
romimage "normal"
|
||||||
option USE_FALLBACK_IMAGE=0
|
option USE_FALLBACK_IMAGE=0
|
||||||
@@ -226,6 +226,9 @@ function build_target
|
|||||||
|
|
||||||
echo -n "Processing mainboard/$VENDOR/$MAINBOARD"
|
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
|
if [ "$ARCH" == "$TARCH" ]; then
|
||||||
echo " ($TARCH: ok)"
|
echo " ($TARCH: ok)"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user