mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Stage support
Reviewed by: vbox@ (decke)
This commit is contained in:
parent
fe93c4ae93
commit
c7c988c343
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341270
@ -39,8 +39,6 @@ OPTIONS_DEFINE= DEBUG VIMAGE
|
||||
DEBUG_DESC= Debug symbols, additional logs and assertions
|
||||
VIMAGE_DESC= VIMAGE virtual networking support
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
USES= kmod
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -92,13 +90,13 @@ do-build:
|
||||
cd ${VBOX_BIN} && make ${MAKE_FLAGS}
|
||||
|
||||
do-install:
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko ${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko ${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko ${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko ${STAGEDIR}${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko ${STAGEDIR}${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko ${STAGEDIR}${KMODDIR}
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko.symbols ${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko.symbols ${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko.symbols ${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko.symbols ${STAGEDIR}${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko.symbols ${STAGEDIR}${KMODDIR}
|
||||
${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko.symbols ${STAGEDIR}${KMODDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user