VirtualBox

Ignore:
Timestamp:
Feb 22, 2016 11:38:16 AM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: remove the old drm driver which is no longer serving a useful purpose - additional clean-up and fix export_modules script.

Location:
trunk/src/VBox/Additions/linux/drm
Files:
3 deleted
1 edited

Legend:

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

    r59597 r59768  
    1919include $(KBUILD_PATH)/subheader.kmk
    2020
    21 VBOX_WITH_GUEST_KMS_DRIVER = 1
    22 
    2321#
    2422# Populate FILES_VBOXVIDEO_DRM_NOBIN
    2523#
    2624INSTALLS += vboxvideo_drm-mod
    27 if !defined(VBOX_WITH_GUEST_KMS_DRIVER)
    28  include $(PATH_SUB_CURRENT)/files_vboxvideo_drm
    29 else
    30  include $(PATH_SUB_CURRENT)/files_vboxvideo_drv
    31 endif
     25include $(PATH_SUB_CURRENT)/files_vboxvideo_drv
    3226vboxvideo_drm-mod_INST         = $(INST_ADDITIONS)src/vboxvideo/
    3327vboxvideo_drm-mod_SOURCES      = \
     
    4539#
    4640if defined(VBOX_WITH_ADDITION_DRIVERS)
    47  if !defined(VBOX_WITH_GUEST_KMS_DRIVER)
    48   if "$(strip $(foreach inc,$(VBOX_LINUX_INCS),$(wildcard $(inc)/drm/drmP.h)))" != ""
    49    SYSMODS += vboxvideo_drm
    50   endif
    51  else
    52   if "$(shell grep -s 'DRM_IOCTL_MODE_CURSOR2' $(foreach inc,$(VBOX_LINUX_INCS),$(inc)/uapi/drm/drm.h))" != ""
    53    SYSMODS += vboxvideo_drm
    54   endif
     41 if "$(shell grep -s 'DRM_IOCTL_MODE_CURSOR2' $(foreach inc,$(VBOX_LINUX_INCS),$(inc)/uapi/drm/drm.h))" != ""
     42  SYSMODS += vboxvideo_drm
    5543 endif
    5644endif
     
    6351        KBUILD_BASENAME=KBUILD_STR\(vboxvideo\) \
    6452        DEBUG_HASH=2 DEBUG_HASH2=3
    65 if !defined(VBOX_WITH_GUEST_KMS_DRIVER)
    66  vboxvideo_drm_SOURCES         = vboxvideo_drm.c
    67 else
    68  vboxvideo_drm_INCS           += \
    69    ../../../Runtime/include \
    70    ../../../Runtime/r0drv/linux
    71  vboxvideo_drm_SOURCES         = \
    72    ../../common/VBoxVideo/HGSMIBase.cpp \
    73    ../../common/VBoxVideo/Modesetting.cpp \
    74    ../../common/VBoxVideo/VBVABase.cpp \
    75    ../../../GuestHost/HGSMI/HGSMICommon.cpp \
    76    ../../../GuestHost/HGSMI/HGSMIMemAlloc.cpp \
    77    ../../../Runtime/common/alloc/heapoffset.cpp \
    78         vbox_drv.c \
    79         vbox_fb.c \
    80         vbox_irq.c \
    81         vbox_main.c \
    82         vbox_mode.c \
    83         vbox_ttm.c
    84 endif
     53vboxvideo_drm_INCS           += \
     54  ../../../Runtime/include \
     55  ../../../Runtime/r0drv/linux
     56vboxvideo_drm_SOURCES         = \
     57  ../../common/VBoxVideo/HGSMIBase.cpp \
     58  ../../common/VBoxVideo/Modesetting.cpp \
     59  ../../common/VBoxVideo/VBVABase.cpp \
     60  ../../../GuestHost/HGSMI/HGSMICommon.cpp \
     61  ../../../GuestHost/HGSMI/HGSMIMemAlloc.cpp \
     62  ../../../Runtime/common/alloc/heapoffset.cpp \
     63        vbox_drv.c \
     64        vbox_fb.c \
     65        vbox_irq.c \
     66        vbox_main.c \
     67        vbox_mode.c \
     68        vbox_ttm.c
    8569
    8670include $(FILE_KBUILD_SUB_FOOTER)
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