History log of /freebsd-13.1/share/mk/src.sys.env.mk (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0
# 844939d7 17-Jan-2020 Bryan Drewery <[email protected]>

META_MODE: Allow 'make all install' to work with filemon.

Filemon will add the ability to ignore the cookie if the installed file is
missing. Without filemon that's not possible though so if the coo

META_MODE: Allow 'make all install' to work with filemon.

Filemon will add the ability to ignore the cookie if the installed file is
missing. Without filemon that's not possible though so if the cookie is present
an the command unchanged then the install wouldn't run.

Sponsored by: DellEMC
MFC after: 2 weeks

show more ...


Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 743ab018 03-Mar-2018 Bryan Drewery <[email protected]>

Ignore MAKEOBJDIRPREFIX from src-env.conf in sub-makes.

A sub-make, such as in 'make buildworld', may want to override MAKEOBJDIRPREFIX
but is unable to do so if src-env.conf is forcing it to anothe

Ignore MAKEOBJDIRPREFIX from src-env.conf in sub-makes.

A sub-make, such as in 'make buildworld', may want to override MAKEOBJDIRPREFIX
but is unable to do so if src-env.conf is forcing it to another value. Without
using '?=' the sub-make may use the wrong .OBJDIR.

Reported by: eadler
Sponsored by: Dell EMC

show more ...


# 154733e8 05-Dec-2017 Bryan Drewery <[email protected]>

Deal with bmake-20170301 no longer resolving -C like it used to.

Several checks assume .CURDIR is resolved, such as for determining RELDIR from
SRCTOP/.CURDIR. If -C is used then the path is no lon

Deal with bmake-20170301 no longer resolving -C like it used to.

Several checks assume .CURDIR is resolved, such as for determining RELDIR from
SRCTOP/.CURDIR. If -C is used then the path is no longer resolved like it was
before which is problematic for symlinked source trees. A similar change was
also made to ports post bmake-20170301.

This fixes 'make -C <symlinked path> buildworld' using the wrong OBJDIR.

Reported by: rstone
Sponsored by: Dell EMC

show more ...


# f70bac64 18-Nov-2017 Bryan Drewery <[email protected]>

Evaluate options after including src-env.conf and before Makefile.sys.inc.

Fixes top-level breakage in r325974.

Pointyhat to: bdrewery
Sponsored by: Dell


# f7789552 18-Nov-2017 Bryan Drewery <[email protected]>

Include Makefile.sys.inc if possible for top-level only.

This will allow disabling some things like AUTO_OBJ early if not needed for the
directory/targets, without putting special logic into share/m

Include Makefile.sys.inc if possible for top-level only.

This will allow disabling some things like AUTO_OBJ early if not needed for the
directory/targets, without putting special logic into share/mk/*.sys.mk.

Sponsored by: Dell

show more ...


# dfa09989 01-Nov-2017 Bryan Drewery <[email protected]>

Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.

This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for
native builds, and /usr/obj/<target>.<targ

Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.

This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for
native builds, and /usr/obj/<target>.<target_arch>/<srcdir> for cross builds to
a new simpler format of /usr/obj/<srcdir>/<target>.<target_arch>. This
new format is used regardless of cross or native build. It allows
easier management of multiple source tree object directories.

The UNIFIED_OBJDIR option will be removed and its feature made permanent
for the 12.0 release.

Relnotes: yes (don't note UNIFIED_OBJDIR option since it will be removed)
Prior work: D3711 D874
Reviewed by: gjb, sjg
Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html
Discussed with: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12840

show more ...


# 95137b22 31-Oct-2017 Bryan Drewery <[email protected]>

Add RELOBJTOP and RELSRCTOP for relative paths.

RELSRCTOP is likely not as useful since make will always be running from
inside of .OBJDIR and using something like ${.CURDIR}/${RELSRCTOP} is
not red

Add RELOBJTOP and RELSRCTOP for relative paths.

RELSRCTOP is likely not as useful since make will always be running from
inside of .OBJDIR and using something like ${.CURDIR}/${RELSRCTOP} is
not redundant for ${SRCTOP}.

Sponsored by: Dell EMC Isilon

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0
# 3c39d0a0 25-Aug-2016 Bryan Drewery <[email protected]>

WITH_META_MODE: Don't let subdir traversals for 'make install' re-enable meta mode.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# 7c75c54f 26-May-2016 Bryan Drewery <[email protected]>

Fix MAKESYSPATH not being sent to sub-makes after r266566.

Because bmake defaults to .../share/mk now, this code was not doing anything
to help objdir builds (such as the rescue build). Export the

Fix MAKESYSPATH not being sent to sub-makes after r266566.

Because bmake defaults to .../share/mk now, this code was not doing anything
to help objdir builds (such as the rescue build). Export the same default.

Sponsored by: EMC / Isilon Storage Division

show more ...


# 99dd498c 21-May-2016 Bryan Drewery <[email protected]>

WITH_META_MODE: Disable for 'make install' from top-level.

See r298220 for more explanation. We don't want to prevent installing
if a cookie exists for the install target.

Sponsored by: EMC / Isil

WITH_META_MODE: Disable for 'make install' from top-level.

See r298220 for more explanation. We don't want to prevent installing
if a cookie exists for the install target.

Sponsored by: EMC / Isilon Storage Division

show more ...


Revision tags: release/10.3.0
# ba7a7c1b 23-Sep-2015 Bryan Drewery <[email protected]>

RELDIR is useful without META_MODE. Always define it.

It is the CURDIR without the SRC base location in it.

Sponsored by: EMC / Isilon Storage Division


Revision tags: release/10.2.0
# daf514d0 19-Jun-2015 Simon J. Gerraty <[email protected]>

Move include of make.conf back to its old position.

This means moving include of local.sys.mk and src.sys.mk too.
Introduce new includes to take the early slot, for the purpose
of being able to infl

Move include of make.conf back to its old position.

This means moving include of local.sys.mk and src.sys.mk too.
Introduce new includes to take the early slot, for the purpose
of being able to influence toolchains and the like.

Differential Revision: D2860
Reviewed by: imp

show more ...