Rather than adding a dummy entry which requires everyone to know to skip
it, introduce a new INSTALLEXTRAKERNELS which contains the set of
kernels to install as kernel.KERNCONF.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 69377 Build 66260: arc lint + arc unit
Event Timeline
Move INSTALLEXTRAKERNELS after NO_INSTALLEXTRAKERNELS is set. Hidden by testing originally on CheriBSD where we set NO_INSTALLEXTRAKERNELS to no early for Morello..
| Makefile.inc1 | ||
|---|---|---|
| 1868 | why skip the 1st entry? In the original version ${BUILDKERNELS:Ndummy} might have been simpler, but you're getting rid of dummy | |
| Makefile.inc1 | ||
|---|---|---|
| 1868 | This is the !NO_INSTALLKERNEL case where there wasn't a dummy entry before, and still isn't. The first entry is being installed separately to /boot/kernel. The dummy entry was to work around the fact that it *always* skipped the first entry even with NO_INSTALLKERNEL, and now that doesn't happen. | |
i've tested D54282 rebased on this diff and it seems to work fine.
there are no user-visible changes in this patch. you could document NO_INSTALLKERNEL if you want.
| Makefile.inc1 | ||
|---|---|---|
| 1868 | Ok, I suspected as much, but perhaps a comment wouldn't hurt | |