Home | History | Annotate | Download | only in mk
History log of /src/share/mk/bsd.kernobj.mk
RevisionDateAuthorComments
 1.14  03-Jun-2013  mrg update to xorg-server 1.10.6.
 1.13  25-Jan-2010  christos branches: 1.13.6; 1.13.12;
PR/42658: Geoff Wing: Quote directory variables to deal with spaces in the
source pathname.
 1.12  11-Oct-2003  lukem Only try to KERNOBJDIR!= if the required directory exists.
 1.11  18-Jul-2003  lukem whitespace cleanup
 1.10  06-Jan-2003  lukem Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.9  26-Apr-2002  lukem Implement NETBSDSRCDIR, which is the top level of the NetBSD source tree.
Defaults to the directory determined by the _SRC_TOP_ logic (if != ""),
and the BSDSRCDIR.

NETBSDSRCDIR has been provided for use by the various NetBSD source
Makefiles to find the top of the NetBSD source tree, and isn't
affected by the inheritance properties of _SRC_TOP_, nor does it
have the magic BSDOBJDIR baggage that BSDSRCDIR is stuck with.
 1.8  10-Apr-2002  lukem replace BSDSRCDIR with _SRC_TOP_, since the latter is more likely to
be "accurate". document _SRC_TOP_.
 1.7  27-Nov-2001  jmc Ok, take 2 on redoing KERNOBJDIR logic.

Use the old setup for MAKEOBJDIRPREFIX but also add a new check for
_SRC_TOP_OBJ_ and use that if it's set. This allows a make release using
build.sh (which uses MAKEOBJDIR patterns) to function correctly on r/o
source tree's.
 1.6  27-Nov-2001  jmc Back out last. Typo'd some things I need to test again
 1.5  27-Nov-2001  jmc Change logic around for kernel objdir handling.

Use MAKEOBJDIRPREFIX as before if it's set

otherwise if _SRC_TOP_OBJ_ is set and isn't "" use it as the base for the
obj dir
 1.4  07-May-2000  sjg correct description of KERNSRCDIR and others
 1.3  06-May-2000  sjg if make(obj) then use MAKEOBJDIRPREFIX regardless
 1.2  03-May-2000  sjg remove/change missleading comments
 1.1  02-May-2000  sjg Added bsd.kernobj.mk to centralize the magic for the location
of kernel configs and compiles. Relies on BSDSRCDIR being set
which is now handled by src/Makefile.inc if need be.
 1.13.12.1  23-Jun-2013  tls resync from head
 1.13.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed