Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131564302
D47476.id146577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47476.id146577.diff
View Options
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -67,7 +67,6 @@
# Make & parallel Make
NANO_MAKE="make"
NANO_NCPU=$(sysctl -n hw.ncpu)
-NANO_PMAKE="make -j $NANO_NCPU"
# The default name for any image we create.
NANO_IMGNAME="_.disk.full"
@@ -892,6 +891,10 @@
: ${NANO_DISKIMGDIR:=${NANO_OBJ}}
: ${NANO_WORLDDIR:=${NANO_OBJ}/_.w}
: ${NANO_LOG:=${NANO_OBJ}}
+ : ${NANO_PMAKE:="${NANO_MAKE} -j ${NANO_NCPU}"}
+ if ! $do_clean; then
+ NANO_PMAKE="${NANO_PMAKE} -DNO_CLEAN"
+ fi
NANO_MAKE_CONF_BUILD=${MAKEOBJDIRPREFIX}/make.conf.build
NANO_MAKE_CONF_INSTALL=${NANO_OBJ}/make.conf.install
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -156,10 +156,6 @@
exit 1
fi
-if ! $do_clean; then
- NANO_PMAKE="${NANO_PMAKE} -DNO_CLEAN"
-fi
-
pprint 1 "NanoBSD image ${NANO_NAME} build starting"
run_early_customize
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 10, 7:36 AM (19 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23520417
Default Alt Text
D47476.id146577.diff (1 KB)
Attached To
Mode
D47476: nanobsd: Fix parallel make
Attached
Detach File
Event Timeline
Log In to Comment