summaryrefslogtreecommitdiffstats
path: root/src/VBox/Installer/linux/rpm/LocalConfig.kmk
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Installer/linux/rpm/LocalConfig.kmk')
-rw-r--r--src/VBox/Installer/linux/rpm/LocalConfig.kmk44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/VBox/Installer/linux/rpm/LocalConfig.kmk b/src/VBox/Installer/linux/rpm/LocalConfig.kmk
new file mode 100644
index 00000000..161684f4
--- /dev/null
+++ b/src/VBox/Installer/linux/rpm/LocalConfig.kmk
@@ -0,0 +1,44 @@
+# -*- Makefile -*-
+#
+# Overwrite some default kBuild settings
+#
+
+#
+# Copyright (C) 2006-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+# don't build testcases to save time, they are not needed for the package
+VBOX_WITH_TESTCASES :=
+VBOX_WITH_VALIDATIONKIT :=
+
+# required for VBOX_WITH_RUNPATH
+VBOX_WITH_ORIGIN :=
+
+KBUILD_MSG_STYLE := brief
+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)
+VBOX_WITH_VBOX_IMG := 1
+
+# gcc 4.5 produces some more false positives
+VBOX_WITH_WARNINGS_AS_ERRORS :=