VirtualBox

Ignore:
Timestamp:
Nov 21, 2016 8:13:16 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: do not build the vboxvideo kernel driver at all on systems where it is not used rather than building a dummy which refuses to load with -EINVAL. This confusing behaviour was reported as a bug in ticketref:16206: vboxvideo.ko unable to be inserted into kernel on CentOS 6/7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/Makefile.module.kms

    r64425 r64732  
    1818#
    1919
    20 # Linux kbuild sets this to our source directory if we are called from there
    21 obj ?= $(CURDIR)
    22 include $(obj)/Makefile.include.header
    23 
    24 MOD_NAME   = vboxvideo
    25 
    2620MY_KERNELRELEASE := $(KERNELRELEASE)
    2721ifeq ($(MY_KERNELRELEASE),)
     
    3125ifeq ($(filter 1.% 2.% 3.0.% 3.1.% 3.2.% 3.3.% 3.4.% 3.5.% 3.6.% 3.7.% \
    32263.8.% 3.9.% 3.10.%,$(MY_KERNELRELEASE)),)
     27
     28# Linux kbuild sets this to our source directory if we are called from there
     29obj ?= $(CURDIR)
     30include $(obj)/Makefile.include.header
     31
     32MOD_NAME   = vboxvideo
     33
    3334MOD_OBJS   = HGSMIBase.o HGSMICommon.o HGSMIMemAlloc.o \
    3435             Modesetting.o vbox_drv.o vbox_fb.o vbox_irq.o vbox_main.o \
    3536             vbox_mode.o vbox_ttm.o VBVABase.o
    36 else
    37 MOD_OBJS   = vbox_dummy.o
    38 endif
    3937
    4038MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -fno-pie
     
    5654
    5755include $(obj)/Makefile.include.footer
     56
     57endif
     58
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette