poky-autobuild: Add generation of auto.conf

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1605 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-05-08 11:52:33 +00:00
parent 7260b954a9
commit 55bfe71178
1 changed files with 12 additions and 0 deletions

View File

@ -37,6 +37,18 @@ if [ "xcomplete" = "x$1" ]; then
exit 0
fi
CONFFILE="./build/conf/auto.conf"
if [ ! -e "$CONFFILE" ]; then
if [ ! -d "./build/conf" ]; then
mkdir -p "./build/conf"
fi
echo 'PACKAGE_CLASSES = "package_ipk package_deb"' > "$CONFFILE"
echo 'BB_NUMBER_THREADS = "4"' >> "$CONFFILE"
echo 'PARALLEL_MAKE = "-j 4"' >> "$CONFFILE"
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
fi
. ./scripts/poky-env-internal
bitbake $1