summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-08 11:52:33 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-08 11:52:33 +0000
commit55bfe711789fab3625462f267cd7b0c9a5474c49 (patch)
tree325991521007f1ddf0d123f9b4ffd8f16f86bb67 /scripts
parent7260b954a9eeed392dfc2571cb51e89ad72d64cf (diff)
downloadpoky-55bfe711789fab3625462f267cd7b0c9a5474c49.tar.gz
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')
-rwxr-xr-xscripts/poky-autobuild12
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
37 exit 0 37 exit 0
38fi 38fi
39 39
40CONFFILE="./build/conf/auto.conf"
41
42if [ ! -e "$CONFFILE" ]; then
43 if [ ! -d "./build/conf" ]; then
44 mkdir -p "./build/conf"
45 fi
46 echo 'PACKAGE_CLASSES = "package_ipk package_deb"' > "$CONFFILE"
47 echo 'BB_NUMBER_THREADS = "4"' >> "$CONFFILE"
48 echo 'PARALLEL_MAKE = "-j 4"' >> "$CONFFILE"
49 echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
50fi
51
40. ./scripts/poky-env-internal 52. ./scripts/poky-env-internal
41 53
42bitbake $1 54bitbake $1