projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d99983
)
hvk: fix MAKEJOBS arguments to KMAKE
author
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 11 Oct 2023 15:35:50 +0000
(11:35 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 11 Oct 2023 15:36:24 +0000
(11:36 -0400)
scripts/hvk-common.sh
patch
|
blob
|
history
diff --git
a/scripts/hvk-common.sh
b/scripts/hvk-common.sh
index
02db032
..
fb03814
100644
(file)
--- a/
scripts/hvk-common.sh
+++ b/
scripts/hvk-common.sh
@@
-20,9
+20,13
@@
else
source ${SCRIPTPATH}/hvk-x86.sh
fi
-: ${MAKEJOBS:="
-j
$(nproc)"}
+: ${MAKEJOBS:="$(nproc)"}
-KMAKE="make ${MAKEJOBS}"
+if [ x"${MAKEJOBS}" != x"" ]; then
+ MAKEJOBS_ARG="-j ${MAKEJOBS}"
+fi
+
+KMAKE="make ${MAKEJOBS_ARG}"
# Needed to compile sample userspace programs (rtc-test):
export CROSS_COMPILE_KCFLAGS=${KCFLAGS}