From owner-svn-src-all@FreeBSD.ORG Fri May 23 08:10:08 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33B6AECA; Fri, 23 May 2014 08:10:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 217FB2F87; Fri, 23 May 2014 08:10:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4N8A8as095660; Fri, 23 May 2014 08:10:08 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4N8A77p095659; Fri, 23 May 2014 08:10:07 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <201405230810.s4N8A77p095659@svn.freebsd.org> From: Luigi Rizzo Date: Fri, 23 May 2014 08:10:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266579 - head/release/picobsd/build X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 08:10:08 -0000 Author: luigi Date: Fri May 23 08:10:07 2014 New Revision: 266579 URL: http://svnweb.freebsd.org/changeset/base/266579 Log: 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. Modified: head/release/picobsd/build/picobsd Modified: head/release/picobsd/build/picobsd ============================================================================== --- head/release/picobsd/build/picobsd Fri May 23 06:47:47 2014 (r266578) +++ head/release/picobsd/build/picobsd Fri May 23 08:10:07 2014 (r266579) @@ -177,7 +177,7 @@ create_includes_and_libraries2() { # opt 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