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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167845
@ -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 New Issue
Block a user