]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
META_MODE: Default OBJROOT to the traditional /usr/src/SRCTOP/.
authorBryan Drewery <bdrewery@FreeBSD.org>
Thu, 17 Sep 2015 04:22:00 +0000 (04:22 +0000)
committerBryan Drewery <bdrewery@FreeBSD.org>
Thu, 17 Sep 2015 04:22:00 +0000 (04:22 +0000)
commit7a46bc81290327c250310b62f78f9222b1cc9216
treeab3bda6ec312ff9c43d505735e14328827bb58d5
parent3c35812126c562438be1c3c5aa730bc0bb4e4260
META_MODE: Default OBJROOT to the traditional /usr/src/SRCTOP/.

This avoids easily colliding multiple src trees with the same objects.  Having
multiple checkouts in dir/ dir2/ dir3/ would all use obj/ without any unique
identifier inside of obj/.  This pattern is more likely to be used due
to the non-META_MODE behavior working with it fine.

In environments where ../obj/ is wanted as the obj directory the value of
OBJROOT can be set to ${SRCTOP:H}/obj/ instead via src-env.conf (set by
SRC_ENV_CONF) or environment.  For environment it must be single quoted or
escaped.  This will be more likely for vendors who are building images or using
NFS for builds.  In those cases MAKEOBJDIRPREFIX may already be utilized and
is supported.

Discussed with: imp
Sponsored by: EMC / Isilon Storage Division
share/mk/local.meta.sys.mk