summaryrefslogtreecommitdiff
path: root/system/virtualbox-ose/LocalConfig.kmk
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-ose/LocalConfig.kmk')
-rw-r--r--system/virtualbox-ose/LocalConfig.kmk19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/virtualbox-ose/LocalConfig.kmk b/system/virtualbox-ose/LocalConfig.kmk
new file mode 100644
index 0000000000..9c6c977485
--- /dev/null
+++ b/system/virtualbox-ose/LocalConfig.kmk
@@ -0,0 +1,19 @@
+# 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/lib/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)