Warner Losh <imp_at_FreeBSD.org> wrote on Date: Wed, 24 Sep 2025 19:56:26 UTC :
> The branch main has been updated by imp: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=d466cb731a2317ec91a89684e9d6a915fdfcc2ff > > commit d466cb731a2317ec91a89684e9d6a915fdfcc2ff > Author: Warner Losh <i...@freebsd.org> > AuthorDate: 2025-09-24 18:41:29 +0000 > Commit: Warner Losh <i...@freebsd.org> > CommitDate: 2025-09-24 19:54:51 +0000 > > make packages: Fix edge case of no kernel > > When NO_INSTALLKERNEL and NO_INSTALLEXTRAKERNELS are set, or when > BUILDKERNELS is empty, we can fail to define the create-kernel-packages > make target, which we call unconditionally. So if do not have a kernel > staging dir, go ahead and provide an empty create-kernel-packages so > that when it's used elsewhere, the build succeeds. > > This lets me build a tree and package it when I don't have a kernel, for > jails and other similar environments. There's no change if any kernels > are built, since that will provide the necessary make target that does > useful things for that case. > > Sponsored by: Netflix > --- . . . Probable MFC? === Mark Millard marklmi at yahoo.com