Shouldn't it be /usr/src pre-pended at start of the first cd? Thanks all for getting this working!
On Fri, Oct 14, 2016 at 3:10 PM, Theo Buehler <t...@openbsd.org> wrote: > CVSROOT: /cvs > Module name: www > Changes by: t...@cvs.openbsd.org 2016/10/14 14:10:46 > > Modified files: > faq : current.html > > Log message: > Kernels now build in an obj directory just like the rest of the source > tree. > This helps ensuring that the src tree can be read-only during builds. Some > cleanup needs to be done before updating your source trees via cvs: > > $ cd /sys > cd /usr/src/sys > $ rm -r arch/*/compile/[GR]* > $ rm arch/*/compile/.cvsignore > $ cvs up > > The new way of configuring, building and installing a kernel is: > > $ cd /src/sys/arch/$(machine)/compile/GENERIC.MP > cd /usr/src/sys/arch/$(machine)/compile/GENERIC.MP <http://generic.mp/> $ doas make obj > $ make config > $ make > $ doas make install