svn commit: r285280 - head/release/picobsd/build
Luigi Rizzo
luigi at FreeBSD.org
Wed Jul 8 16:41:26 UTC 2015
Author: luigi
Date: Wed Jul 8 16:41:25 2015
New Revision: 285280
URL: https://svnweb.freebsd.org/changeset/base/285280
Log:
trap some errors when building picobsd
Modified:
head/release/picobsd/build/picobsd
Modified: head/release/picobsd/build/picobsd
==============================================================================
--- head/release/picobsd/build/picobsd Wed Jul 8 16:37:48 2015 (r285279)
+++ head/release/picobsd/build/picobsd Wed Jul 8 16:41:25 2015 (r285280)
@@ -725,10 +725,10 @@ populate_mfs_tree() {
# /stand/crunch is our main binary, we extract its libs
find_progs ${dst}/stand/crunch
if [ -n "${u_libs}" ] ; then
- mkdir -p ${dst}/lib && cp -p ${u_libs} ${dst}/lib
+ mkdir -p ${dst}/lib && (cp -p ${u_libs} ${dst}/lib || log "copy libs ${u_libs} failed" )
mkdir -p ${dst}/libexec
create_includes_and_libraries2 libexec/rtld-elf
- find_progs ld-elf.so.1 && cp -p ${u_progs} ${dst}/libexec
+ find_progs ld-elf.so.1 && ( cp -p ${u_progs} ${dst}/libexec || log "copy ${u_progs} failed" )
fi
[ -n "${copy_files}" ] && do_copyfiles ${dst} copy_files
@@ -959,6 +959,7 @@ set_build_parameters() {
export WITH_GNUCXX=yes
export WITHOUT_CLANG=yes
export WITHOUT_ICONV=yes
+ export WITHOUT_TESTS=yes
# XXX why change machine_arch ?
#-- export MACHINE_ARCH=`uname -m` MACHINE=`uname -m`
More information about the svn-src-all
mailing list