aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox/LocalConfig.kmk
blob: e8b1bc2251f0fa4b894840376a500d88f5d7762c (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
# 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     :=

# 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_PACKAGE_DOCS)

# 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