aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_null.c
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-01-06 01:48:04 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-02-22 00:57:33 +0000
commit03c9ad37b497bd59dc3fb9ec86310b95e5d1abbe (patch)
tree8af6a211bc04a8593c0af7db1324192730a72e75 /sys/dev/netmap/netmap_null.c
parent6c0c5c03413bf69756fa19ac7f2bcd4270bdb01b (diff)
Makefile.inc1: Fix INSTALLEXTRAKERNELS for one-kernel case
If BUILDKERNELS contains a single kernel, and NO_INSTALLEXTRAKERNELS=no, then ${BUILDKERNELS:[2..-1]} returns the first kernel in the list and that kernel ends up in both INSTALLKERNEL and INSTALLEXTRAKERNELS. This breaks the package build because it means we generate that package twice, once with an incorrect install path of /boot/kernel.NAME instead of /boot/kernel. Only set INSTALLEXTRAKERNELS if we're building at least two kernels. Fixes: 2c0e9a76c1ce ("Makefile.inc1: Make NO_INSTALLKERNEL less of a hack") Reviewed by: jrtc27 Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D54539 (cherry picked from commit 0b298e314a8b47c1f2bf8a9ff86c050accbd744d)
Diffstat (limited to 'sys/dev/netmap/netmap_null.c')
0 files changed, 0 insertions, 0 deletions