Revision tags: release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
960b77be |
| 24-Nov-2020 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk et al to latest
Move some local tweaks to local.*.mk
Reviewed by: bdrewery MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27300
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
33ae1ff7 |
| 07-Apr-2020 |
Bryan Drewery <bdrewery@FreeBSD.org> |
NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ.
Sponsored by: Dell EMC MFC after: 2 weeks
|
Revision tags: release/12.1.0 |
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
Revision tags: release/11.3.0 |
|
#
3b53f994 |
| 04-Jul-2019 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Consider *clean targets as non-build targets as well.
MFC after: 2 weeks Sponsored by: DellEMC
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
6e6be2bb |
| 20-Jun-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Reduce exec and fstat overhead for non-build targets.
This is mostly targetting 'make showconfig' and 'make test-system-*' for the benefit of makeman and universe-one-clang work.
Sponsored by: Dell
Reduce exec and fstat overhead for non-build targets.
This is mostly targetting 'make showconfig' and 'make test-system-*' for the benefit of makeman and universe-one-clang work.
Sponsored by: Dell EMC
show more ...
|
#
f8190300 |
| 10-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325505 through r325662.
|
#
fa65e3a5 |
| 10-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Handle some .OBJDIR == .CURDIR cases.
- If OBJROOT is SRCTOP then don't add on TARGET.TARGET_ARCH. This only happens at the top-level, and for sub-directories when the user is clever with MAKEO
Handle some .OBJDIR == .CURDIR cases.
- If OBJROOT is SRCTOP then don't add on TARGET.TARGET_ARCH. This only happens at the top-level, and for sub-directories when the user is clever with MAKEOBJDIRPREFIX=/. - Don't bother checking 'test -w' on .CURDIR. - Properly set OBJTOP/OBJROOT to SRCTOP in various needed cases. - Check if the OBJDIR is writable even for *clean* targets since it determines which .OBJDIR the user gets; If they cannot write to an existing eligible .OBJDIR then it needs to clean in .CURDIR instead. - Add guard to cleanworld/cleanuniverse from removing SRCTOP. - Ensure OBJTOP is proper for .OBJDIR=.CURDIR which fixes finding libraries since src.libnames.mk is based on OBJTOP. - Avoid some chdir(2) for modifying .OBJDIR
Sponsored by: Dell EMC Isilon
show more ...
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
254d2760 |
| 05-Nov-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325422
|
#
b284f322 |
| 05-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
AUTO_OBJ: Allow 'make cleandir obj all' combinations.
The cleanobj target will not really remove the OBJDIR in this case, it will only remove the OBJDIR if only clean targets are ran.
Sponsored by:
AUTO_OBJ: Allow 'make cleandir obj all' combinations.
The cleanobj target will not really remove the OBJDIR in this case, it will only remove the OBJDIR if only clean targets are ran.
Sponsored by: Dell EMC Isilon
show more ...
|
#
aba77ddd |
| 05-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
AUTO_OBJ: Set .OBJDIR=.CURDIR earlier for NO_OBJ Makefiles.
auto.obj.mk is loaded before the Makefile which may have NO_OBJ set inside of it. In that case we can't avoid creating the OBJDIR but we
AUTO_OBJ: Set .OBJDIR=.CURDIR earlier for NO_OBJ Makefiles.
auto.obj.mk is loaded before the Makefile which may have NO_OBJ set inside of it. In that case we can't avoid creating the OBJDIR but we do need to avoid using it. Fixing .OBJDIR in bsd.init.mk at least fixes all of the build .mk files to have a proper .OBJDIR. It does not fix the Makefile itself but usually if they have NO_OBJ set they are not inspecting ${.OBJDIR} anyhow.
It is ideal to only have this in bsd.init.mk and to remove it from bsd.obj.mk, but then bsd.obj.mk would need to include bsd.init.mk. Doing something like that would require more testing. It has been proposed that bsd.obj.mk not be included directly but it has been possible for too long to do so to change it at this point.
Note too that it may make sense to fix .OBJDIR even when AUTO_OBJ is not enabled but the historical behavior has always been that NO_OBJ just avoids running 'make obj', so .OBJDIR should already be .CURDIR.
Also while NO_OBJ seems like it should be removed at this point, it is not always possible to fix Makefiles to properly use an .OBJDIR. The cost of keeping NO_OBJ support is minimal.
Sponsored by: Dell EMC Isilon
show more ...
|
Revision tags: release/10.4.0 |
|
#
b78bcbac |
| 16-Sep-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r323646
|
#
2506d700 |
| 16-Sep-2017 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Use OBJS_SRCS_FILTER to control setting OBJS from SRCS
Some makefiles do reachover builds. In some cases it is convenient to list subdirs of the distribution in SRCS.
It is not very convenient, or
Use OBJS_SRCS_FILTER to control setting OBJS from SRCS
Some makefiles do reachover builds. In some cases it is convenient to list subdirs of the distribution in SRCS.
It is not very convenient, or always even desirable to have corresponding subdirs in .OBJDIR, so OBJS_SRCS_FILTER allows the makefile to choose. The default value 'R' matches existing practice.
But a makefile can set OBJS_SRCS_FILTER= T (the R gets added by bsd.init.mk) to avoid the need for subdirs in .OBJDIR
Differential Revision: https://reviews.freebsd.org/D12218 Reviewed by: bdrewery
show more ...
|
#
bca9d05f |
| 23-Jul-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r319973 through 321382.
|
Revision tags: release/11.1.0 |
|
#
a3604b95 |
| 27-Jun-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r320042 through r320397.
|
#
05f3e1fe |
| 20-Jun-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Fix 'make clean all' to work again.
This likely broke completely with r308599.
Apply the same fix for 'make destroy' which is a DIRDEPS_BUILD thing.
PR: 219819 Reported by: trasz MFC after: 3 day
Fix 'make clean all' to work again.
This likely broke completely with r308599.
Apply the same fix for 'make destroy' which is a DIRDEPS_BUILD thing.
PR: 219819 Reported by: trasz MFC after: 3 days Sponsored by: Dell EMC Isilon
show more ...
|
#
a773cead |
| 30-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r318964 through r319164.
|
#
c9d34d66 |
| 28-May-2017 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
Fix INSTALL_AS_USER with external nsswitch databases
The INSTALL_AS_USER option tells "install" to use the current user name as the owner of the installed file. The "install" command executed by th
Fix INSTALL_AS_USER with external nsswitch databases
The INSTALL_AS_USER option tells "install" to use the current user name as the owner of the installed file. The "install" command executed by the build is statically linked, so it does not load nsswitch modules, such as nss_ldap.so, so it fails when the user is only defined in such a database.
Fix it to use the current UID instead of user name. This works for all users. I expect it is also slightly more efficient.
Reviewed by: sjg MFC after: 3 days Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D10862
show more ...
|
#
4f2bab59 |
| 28-May-2017 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
Fix INSTALL_AS_USER
Move INSTALL_AS_USER into bsd.init.mk to maximize the chance that it has final authority over fooOWN and fooGRP.
Reviewed by: sjg MFC after: 3 days Sponsored by: Dell EMC Differ
Fix INSTALL_AS_USER
Move INSTALL_AS_USER into bsd.init.mk to maximize the chance that it has final authority over fooOWN and fooGRP.
Reviewed by: sjg MFC after: 3 days Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D10810
show more ...
|
#
7e1b7636 |
| 08-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r317808 through r317970.
|
#
1f265bbd |
| 06-May-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Fix some "don't build" optimizations from r308599 not working due to a typo.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
|
#
67bc8c8b |
| 19-Nov-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r308491 through r308841.
|
#
d7173250 |
| 13-Nov-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Consolidate the "don't build" optimizations into _SKIP_BUILD.
_SKIP_BUILD will be set when nothing is expected to be built. This can be used to optimize some tree-walks and operations which don't n
Consolidate the "don't build" optimizations into _SKIP_BUILD.
_SKIP_BUILD will be set when nothing is expected to be built. This can be used to optimize some tree-walks and operations which don't need to load dependency files or generate dependencies via beforebuild-style hacks.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
show more ...
|
#
f4fbac19 |
| 13-Nov-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
DIRDEPS_BUILD: Don't hook 'beforebuild' into 'all' in MAKELEVEL 0.
This was a mistake in r295641, but is effectively prevented from being a problem due to r296699 preventing 'make all' from being us
DIRDEPS_BUILD: Don't hook 'beforebuild' into 'all' in MAKELEVEL 0.
This was a mistake in r295641, but is effectively prevented from being a problem due to r296699 preventing 'make all' from being usable at MAKELEVEL 0 for DIRDEPS_BUILD.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
show more ...
|