diff options
author | luigi <luigi@FreeBSD.org> | 2014-05-23 08:10:07 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2014-05-23 08:10:07 +0000 |
commit | 171912e31798396d04a4af83b161adbd7a856af2 (patch) | |
tree | 80c628b3bb7a2a82f51a9ccf6e6f667701bf907a /release | |
parent | 8f99933d8230d3e7da7e3faebeca2536fa117b6b (diff) | |
download | FreeBSD-src-171912e31798396d04a4af83b161adbd7a856af2.zip FreeBSD-src-171912e31798396d04a4af83b161adbd7a856af2.tar.gz |
add libraries to the initial build for picobsd.
add a -j option so we can tune the amount of parallel make,
the default we used (-j 8) is large and was giving problems
with SUBDIR_PARALLEL due to some missing dependencies.
Diffstat (limited to 'release')
-rwxr-xr-x | release/picobsd/build/picobsd | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index 6ecf76f..946f097 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -177,7 +177,7 @@ create_includes_and_libraries2() { # opt_dir opt_target cd $1 ; ${BINMAKE} ${o_par} $2 # specific target, e.g. ld-elf.so else export MAKEOBJDIRPREFIX=${l_objtree} - make ${o_par} $no toolchain + make ${o_par} $no toolchain libraries # XXX do we need any of these ? eval export `cd ${SRC}; ${BINMAKE} -f Makefile.inc1 -V WMAKEENV` [ ${o_arch} != `uname -m` ] && \ @@ -1055,8 +1055,13 @@ set_defaults while [ true ]; do log "Parsing $1" case $1 in + -j) + o_par="-j $2" + shift + ;; + --par) - o_par="-j 8" + o_par="-j 8" # watch out, this might be too large ;; --src) # set the source path instead of /usr/src |