summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-02 20:12:03 +0000
committerdavidovski <david@davidovski.xyz>2022-03-02 20:12:03 +0000
commitfaf7c837b27aebd7c5529f71e22627a07a96db37 (patch)
treea4704aae8905d1ac9bab14a45e03366048206d90
parente35245a4f72136aad1f0d5a54d005892ff2d929a (diff)
added JOBS env var to build
-rw-r--r--xibuild/build_profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/xibuild/build_profile b/xibuild/build_profile
index a009996..2129265 100644
--- a/xibuild/build_profile
+++ b/xibuild/build_profile
@@ -1,7 +1,9 @@
+
+export JOBS=$(grep "processor" /proc/cpuinfo | wc -l)
export HOME=/root
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
-export MAKEFLAGS="-j$(grep "processor" /proc/cpuinfo | wc -l)"
+export MAKEFLAGS="-j$JOBS"
export XORG_PREFIX="/usr"
export XORG_CONFIG="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static"