Re: git: ff8d9d9c5618 - main - config.mk: Add opt_platform.h support

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 02 May 2022 20:17:57 UTC
On Mon, May 2, 2022 at 1:39 PM Ed Maste <emaste@freebsd.org> wrote:

> On Tue, 5 Apr 2022 at 15:56, Warner Losh <imp@freebsd.org> wrote:
> >
> > The branch main has been updated by imp:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=ff8d9d9c56185d38f507ffe2659cfd13633b9a12
> >
> > commit ff8d9d9c56185d38f507ffe2659cfd13633b9a12
> > Author:     Warner Losh <imp@FreeBSD.org>
> > AuthorDate: 2022-04-05 19:39:09 +0000
> > Commit:     Warner Losh <imp@FreeBSD.org>
> > CommitDate: 2022-04-05 19:52:55 +0000
> >
> >     config.mk: Add opt_platform.h support
> >
> >     opt_platform.h is now included from miivar.h, so add support for
> >     generating it in the standalone build case.
>
> This broke generation of src.conf.5, which reports that WITHOUT_FDT is
> the default after this change. Running `make makman` reports:
> amd64/amd64: ignoring duplicate option FDT
> arm/armv6: ignoring duplicate option FDT
> ...
>
> Indeed, `make showconfig` shows MK_FDT is both yes and no:
> $ make showconfig | grep FDT
> MK_FDT           = no
> MK_FDT           = yes
>

Indeed. I'll get the userland and kernel back in sync.

Warner