Re: git: 390c31c4289e - main - meta.sys.mk: downgrade missing Filemon error to warning
Date: Sun, 23 Apr 2023 23:53:02 UTC
We'll need to fix the makeman to ignore that option...
Warner
On Sun, Apr 23, 2023, 5:49 PM Simon J. Gerraty <sjg@juniper.net> wrote:
> Ed Maste <emaste@freebsd.org> wrote:
> > no description found for WITH_host_egacy, skipping
>
> This is an internal "pseudo" option.
> I would propose tweaking showconfig to ignore them:
>
> diff --git a/Makefile.inc1 b/Makefile.inc1
> index 60956d58fd9b..d059d5dd9fea 100644
> --- a/Makefile.inc1
> +++ b/Makefile.inc1
> @@ -3405,9 +3405,11 @@ check-old: check-old-files check-old-libs
> check-old-dirs .PHONY
> #
> # showconfig - show build configuration.
> #
> +# ignore lower case knobs (not for use with WITH*)
> +#
> showconfig: .PHONY
> @(${MAKE} -n -f ${.CURDIR}/sys/conf/kern.opts.mk -V dummy -dg1
> UPDATE_DEPENDFILE=no NO_OBJ=yes MACHINE=${TARGET}
> MACHINE_ARCH=${TARGET_ARCH}; \
> - ${MAKE} -n -f ${.CURDIR}/share/mk/src.opts.mk -V dummy -dg1
> UPDATE_DEPENDFILE=no NO_OBJ=yes) 2>&1 | grep ^MK_ | sort -u
> + ${MAKE} -n -f ${.CURDIR}/share/mk/src.opts.mk -V dummy -dg1
> UPDATE_DEPENDFILE=no NO_OBJ=yes) 2>&1 | grep '^MK_[A-Z]' | sort -u
>
> .if !empty(KRNLOBJDIR) && !empty(KERNCONF)
> DTBOUTPUTPATH= ${KRNLOBJDIR}/${KERNCONF}/
>
>