diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-09-24 09:03:06 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-09-24 09:03:06 +0000 |
commit | 892b091e967cd2a54e23d22c8b37bfe12ebaaab5 (patch) | |
tree | 6ea2802b10a9217c5c943b53bac44001f1e5389d /util/kbuildall | |
parent | ac7a2d2f848928fba5054d37343754fc4b2d557d (diff) | |
download | coreboot-892b091e967cd2a54e23d22c8b37bfe12ebaaab5.tar.xz |
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
Diffstat (limited to 'util/kbuildall')
-rwxr-xr-x | util/kbuildall/kbuildall | 11 |
1 files changed, 9 insertions, 2 deletions
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` |