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:
@@ -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`
|
||||
|
Reference in New Issue
Block a user