]> git.ozlabs.org Git - next-scripts/blobdiff - common.sh
do_build: use the Debian standard cross compilers
[next-scripts] / common.sh
index 35317da8406541c5800000dee6952fb06842c09d..827015a0190347ec25cfcb863eecc466ef13e8ae 100644 (file)
--- a/common.sh
+++ b/common.sh
@@ -8,14 +8,14 @@ _next_common_included=1
 
 bin_dir=$(dirname "$0")
 
-LOG_FILE="../merge.log"
+[ "$LOG_FILE" ] || LOG_FILE="../merge.log"
 SHA1_FILE="../SHA1s"
 CTRL_FILE="../etc/control"
 
 build_host="ash"
 build_dir="/home/sfr/next/next"
 gcc_version="4.9.0"
-j_factor=48
+j_factor=$(nproc)
 gpg_key=89F91C0A41D5C07A
 kup_gpg_key=015042F34957D06C