summaryrefslogtreecommitdiff
blob: 1ccf0baa3740157f27b8e772a884ffe4c9ad785b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
The vboxvideo module is deprecated.
Do not build it when VBOX_NO_LEGACY_XORG_X11 is defined.

--- a/src/VBox/Additions/linux/drm/Makefile.kmk
+++ b/src/VBox/Additions/linux/drm/Makefile.kmk
@@ -25,6 +25,8 @@
 # SPDX-License-Identifier: GPL-3.0-only
 #
 
+ifndef VBOX_NO_LEGACY_XORG_X11
+
 SUB_DEPTH = ../../../../..
 include $(KBUILD_PATH)/subheader.kmk
 
@@ -50,3 +52,4 @@
 
 include $(FILE_KBUILD_SUB_FOOTER)
 
+endif