mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
If KERNEL_EXTRA is defined, make kernel-all target depend on it.
If KERNEL_EXTRA_INSTALL is defined, install it into ${DESTDIR}${KODIR}.
This commit is contained in:
parent
5d47cd0f1a
commit
92d0be02b0
1 changed files with 6 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ ports-${__target}:
|
|||
|
||||
.ORDER: kernel-install modules-install
|
||||
|
||||
kernel-all: ${KERNEL_KO}
|
||||
kernel-all: ${KERNEL_KO} ${KERNEL_EXTRA}
|
||||
|
||||
kernel-cleandir: kernel-clean kernel-cleandepend
|
||||
|
||||
|
|
@ -224,6 +224,11 @@ kernel-install:
|
|||
.if defined(DEBUG) && !defined(INSTALL_NODEBUG)
|
||||
${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}.symbols ${DESTDIR}${KODIR}
|
||||
.endif
|
||||
.if defined(KERNEL_EXTRA_INSTALL)
|
||||
${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_EXTRA_INSTALL} ${DESTDIR}${KODIR}
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
kernel-reinstall:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
|
|
|
|||
Loading…
Reference in a new issue