Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 02:02:06 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264856 - head/tools/tools/nanobsd/dhcpd
Message-ID:  <201404240202.s3O226U5063938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Apr 24 02:02:06 2014
New Revision: 264856
URL: http://svnweb.freebsd.org/changeset/base/264856

Log:
  Override the parallel make target to use all CPUs.

Modified:
  head/tools/tools/nanobsd/dhcpd/common

Modified: head/tools/tools/nanobsd/dhcpd/common
==============================================================================
--- head/tools/tools/nanobsd/dhcpd/common	Thu Apr 24 01:39:53 2014	(r264855)
+++ head/tools/tools/nanobsd/dhcpd/common	Thu Apr 24 02:02:06 2014	(r264856)
@@ -33,7 +33,9 @@
 # simplified to meet the needs of the example.
 #
 
-NANO_PMAKE="make"					# NB: disable -j 3
+# NB: You want the other file
+
+NANO_PMAKE="make -j $(sysctl -n hw.ncpu)"
 
 NANO_CFG_BASE=$(pwd)
 NANO_CFG_BASE=${NANO_CFG_BASE%/dhcpd}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404240202.s3O226U5063938>