diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-08 11:52:33 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-08 11:52:33 +0000 |
commit | 55bfe711789fab3625462f267cd7b0c9a5474c49 (patch) | |
tree | 325991521007f1ddf0d123f9b4ffd8f16f86bb67 /scripts/poky-autobuild | |
parent | 7260b954a9eeed392dfc2571cb51e89ad72d64cf (diff) | |
download | openembedded-core-55bfe711789fab3625462f267cd7b0c9a5474c49.tar.gz openembedded-core-55bfe711789fab3625462f267cd7b0c9a5474c49.tar.bz2 openembedded-core-55bfe711789fab3625462f267cd7b0c9a5474c49.zip |
poky-autobuild: Add generation of auto.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1605 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-autobuild')
-rwxr-xr-x | scripts/poky-autobuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index 3076be975d..6beea5c50f 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild @@ -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 |