Make all Kconfig enabled boards build (tested with kbuildall).

Also enable building individual boards with kbuildall for
debugging.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi
2009-09-24 09:03:06 +00:00
parent ac7a2d2f84
commit 892b091e96
15 changed files with 229 additions and 24 deletions

View File

@@ -12,6 +12,7 @@
# of this archive for more details.
TARGETDIR=kbuildall.results
BOARD=$1
if [ ! -f util/kbuildall/kbuildall ]; then
echo "This application must be run from the"
@@ -36,10 +37,16 @@ builddefconfig() {
yes "" | $MAKE oldconfig
}
rm -rf $TARGETDIR
mkdir -p $TARGETDIR
ALLTARGETS=`(cd src/mainboard; ls */*/Config.lb | sed s,/Config.lb,,)`
TARGETCOUNT=`echo $ALLTARGETS | wc -w`
if [ -n "$BOARD" ]; then
TARGETCOUNT=1
ALLTARGETS=$BOARD
else
rm -rf $TARGETDIR
fi
mkdir -p $TARGETDIR
CURRENTARGET=0
for dir in $ALLTARGETS; do
i=`expr $i + 1`