From 892b091e967cd2a54e23d22c8b37bfe12ebaaab5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 24 Sep 2009 09:03:06 +0000 Subject: Make all Kconfig enabled boards build (tested with kbuildall). Also enable building individual boards with kbuildall for debugging. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/kbuildall/kbuildall | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/kbuildall/kbuildall b/util/kbuildall/kbuildall index 8495cd35f1..4d6412a9c8 100755 --- a/util/kbuildall/kbuildall +++ b/util/kbuildall/kbuildall @@ -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` -- cgit v1.2.3