aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox/LocalConfig.kmk
blob: 8003032c1084be787cd3d5e9469deb07e35417ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Modify building of VirtualBox to get a cleaner system

DEFS += RTPATH_APP_PRIVATE=\"/usr/share/virtualbox\"

# don't build testcases to save time, they are not needed for the package
VBOX_WITH_TESTCASES     :=
VBOX_WITH_TESTSUITE     :=
VBOX_WITH_VALIDATIONKIT :=

# don't build guest-additions, they will come in a separate build
VBOX_WITHOUT_ADDITIONS  := 1

KBUILD_MSG_STYLE        := brief

VBOX_WITH_ORIGIN           :=
VBOX_PATH_APP_PRIVATE_ARCH := /usr/LIBDIR/virtualbox
VBOX_PATH_SHARED_LIBS      := $(VBOX_PATH_APP_PRIVATE_ARCH)
VBOX_WITH_RUNPATH          := $(VBOX_PATH_APP_PRIVATE_ARCH)
VBOX_PATH_APP_PRIVATE      := /usr/share/virtualbox
VBOX_PATH_APP_DOCS         := $(VBOX_PATH_APP_PRIVATE)

# Disable showing registration window on startup
VBOX_WITH_REGISTRATION  =

# gcc 4.5 fix
VBOX_WITH_WARNINGS_AS_ERRORS :=

# Do not require pam
VBOX_WITH_PAM :=

# Correct path to java
VBOX_JAVA_HOME := /usr/LIBDIR/java

# Do not build docs from source. Depends on texlive...
VBOX_WITHOUT_DOCS := 1

# Use our CFLAGS
VBOX_GCC_OPT := CXXFLAGS

# Don't display update requests as we manage updates via packages
VBOX_WITH_UPDATE_REQUEST :=

# Build useful tools linked to testcases
VBOX_WITH_VBOX_IMG     := 1
VBOX_WITH_VBOXIMGMOUNT := 1