problem running "make cleandir"

Robert Huff roberthuff at rcn.com
Sat Mar 29 16:44:46 UTC 2014


Beeblebrox writes:

 >  Just delete the contents of /usr/obj/src/, or if you have set in
 >  /etc/make.conf WRKDIRPREFIX=/dir_path then delete the src folder
 >  under that prefix.

	The complete process is:

#! /bin/sh

set -x

cd /usr/src
if [ -f buildworld.log ]
     then rm buildworld.log
fi
rm -rf /usr/obj
cp -p /usr/src/sys/amd64/conf/JERUSALEM /root
make cleandir
date > ./buildworld.time
make -d l buildworld 2>&1 ./buildworld.log
tail -n 50 ./buildworld.log | sendmail huff


				Robert Huff



More information about the freebsd-questions mailing list