diff options
-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 3076be975..6beea5c50 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 |