Subject: proper build setup
To: None <current-users@netbsd.org>
From: Joseph Sarkes <jsarkes@tiac.net>
List: current-users
Date: 11/15/2001 09:49:58
What is the proper set of environment variables to have
at this time? I obviously have cruft left over from the
past here, but could a proper example set be made available
to explain a basic setup? 

Basically what happened is that I moved my MAKEOBJDIRPREFIX
to a different drive. All the source tree image directories
got made there, but weren't used. Everything else generated
ended up in my source tree. Hopefully cleandir will work after
things are done with the build. Below is the top of my mk.conf.
I may have changed something else in my mk.conf but can't
remember what it might have been now... 


############################################
#stuff common to both pkgsrc and src goes here

USE_XF86_4=YES
BSDSRCDIR=/usr/src
BSDXSRCDIR=/usr/xsrc

############################################
#stuff applicable to src goes here
.ifndef BSD_PKG_MK

MAKEOBJDIRPREFIX=/junk/objdir
UPDATE=1
BUILD=1
MKOBJDIRS=yes
MKHOSTOBJ=yes
USETOOLS=yes
TOOLDIR=/junk/tools
MKTOOLS=yes
DESTDIR=/t
BSDOBJDIR=/junk/obj
RELEASEDIR=/build/work/release
KERNOBJDIR=/junk/kernobj
LOCALTIME=US/Eastern

############################################
#stuff that applies to only pkgsrc goes here
.else
#...
.endif

-- 
Joseph Sarkes		jsarkes@tiac.net