FreeBSD Bugzilla – Attachment 165921 Details for
Bug 206470
emulators/virtualbox-ose: Add "R0 Logging" option, set BUILD_TYPE=debug when DEBUG option set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
_bzsubmit-delta.txt.OTZNnH (text/plain), 1.91 KB, created by
Li-Wen Hsu
on 2016-01-21 16:26:47 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Li-Wen Hsu
Created:
2016-01-21 16:26:47 UTC
Size:
1.91 KB
patch
obsolete
>Index: emulators/virtualbox-ose/Makefile >=================================================================== >--- emulators/virtualbox-ose/Makefile (revision 406859) >+++ emulators/virtualbox-ose/Makefile (working copy) >@@ -62,7 +62,7 @@ > VBOX_GUEST_VER= ${PORTVERSION} > > OPTIONS_DEFINE= DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO PYTHON \ >- QT4 UDPTUNNEL VDE VNC VPX WEBSERVICE X11 >+ QT4 R0LOGGING UDPTUNNEL VDE VNC VPX WEBSERVICE X11 > OPTIONS_DEFAULT= DBUS PYTHON QT4 UDPTUNNEL VNC WEBSERVICE X11 > OPTIONS_SUB= yes > >@@ -70,6 +70,7 @@ > GUESTADDITIONS_DESC= Build with Guest Additions > MANUAL_DESC= Build with user manual > QT4_DESC= Build with QT4 Frontend >+R0LOGGING_DESC= Enable R0 logging > UDPTUNNEL_DESC= Build with UDP tunnel support > VDE_DESC= Build with VDE support > VNC_DESC= Build with VNC support >@@ -125,10 +126,15 @@ > > .if ${PORT_OPTIONS:MDEBUG} > KMK_BUILDTYPE= debug >+KMK_FLAGS+= BUILD_TYPE=debug > .else > KMK_BUILDTYPE= release > .endif > >+.if ${PORT_OPTIONS:MR0LOGGING} && empty(PORT_OPTIONS:MDEBUG) >+BROKEN= R0 logging requires debug build >+.endif >+ > .if ${PORT_OPTIONS:MGUESTADDITIONS} > GUESTADDITIONS= VBoxGuestAdditions_${VBOX_GUEST_VER}.iso > GADISTFILES= ${GUESTADDITIONS}:guestadditions >@@ -192,7 +198,7 @@ > > KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} > KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys >-KMK_FLAGS= -j${MAKE_JOBS_NUMBER} >+KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} > > .include <bsd.port.pre.mk> > >@@ -241,6 +247,9 @@ > @${ECHO} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> ${WRKSRC}/LocalConfig.kmk > @${ECHO} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long' >> ${WRKSRC}/LocalConfig.kmk > .endif >+.if ${PORT_OPTIONS:MR0LOGGING} >+ @${ECHO} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk >+.endif > .if ${COMPILER_TYPE} == clang > @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ > -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206470
: 165921