git: 48e733eef92c - main - Add some more local.*.mk includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Dec 2022 18:50:38 UTC
The branch main has been updated by sjg: URL: https://cgit.FreeBSD.org/src/commit/?id=48e733eef92cf7c3bbde12d965c66766322e1f5e commit 48e733eef92cf7c3bbde12d965c66766322e1f5e Author: Simon J. Gerraty <sjg@FreeBSD.org> AuthorDate: 2022-12-06 18:49:54 +0000 Commit: Simon J. Gerraty <sjg@FreeBSD.org> CommitDate: 2022-12-06 18:49:54 +0000 Add some more local.*.mk includes These facilitate customizing the build with minimal churn. Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37592 --- share/mk/bsd.kmod.mk | 2 ++ share/mk/bsd.opts.mk | 2 ++ share/mk/bsd.sysdir.mk | 2 ++ 3 files changed, 6 insertions(+) diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 683967749e75..bb939f429546 100644 --- a/share/mk/bsd.kmod.mk +++ b/share/mk/bsd.kmod.mk @@ -1,4 +1,6 @@ # $FreeBSD$ +.-include <local.kmod.mk> + .include <bsd.sysdir.mk> .include "${SYSDIR}/conf/kmod.mk" diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk index d448656bd96d..a391e16a6d1b 100644 --- a/share/mk/bsd.opts.mk +++ b/share/mk/bsd.opts.mk @@ -104,6 +104,8 @@ __DEFAULT_NO_OPTIONS+= PIE __DEFAULT_YES_OPTIONS+=PIE .endif +.-include <local.opts.mk> + .include <bsd.mkopt.mk> .if ${MK_INIT_ALL_PATTERN} == "yes" && ${MK_INIT_ALL_ZERO} == "yes" diff --git a/share/mk/bsd.sysdir.mk b/share/mk/bsd.sysdir.mk index 665905e1d537..046ca433e6af 100644 --- a/share/mk/bsd.sysdir.mk +++ b/share/mk/bsd.sysdir.mk @@ -1,5 +1,7 @@ # $FreeBSD$ +.-include <local.sysdir.mk> + # Search for kernel source tree in standard places. .if !defined(SYSDIR) .for _dir in ${SRCTOP:D${SRCTOP}/sys} \