VirtualBox

Ignore:
Timestamp:
Jul 28, 2011 11:15:30 AM (13 years ago)
Author:
vboxsync
Message:

Additions/linux/drm: build bits for a KMS driver, enable with VBOX_WITH_GUEST_KMS_DRIVER

File:
1 edited

Legend:

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

    r38194 r38216  
    2323#
    2424INSTALLS += vboxvideo_drm-mod
    25 include $(PATH_SUB_CURRENT)/files_vboxvideo_drm
     25if !defined(VBOX_WITH_GUEST_KMS_DRIVER)
     26 include $(PATH_SUB_CURRENT)/files_vboxvideo_drm
     27else
     28 include $(PATH_SUB_CURRENT)/files_vboxvideo_drv
     29endif
    2630vboxvideo_drm-mod_INST         = $(INST_ADDITIONS)src/vboxvideo/
    2731vboxvideo_drm-mod_SOURCES      = \
     
    7579                 $(if $(shell if grep -q '"2.6.18.*el5.*"' $(inc)/linux/utsrelease.h;\
    7680                               then echo yes; fi),KERNEL_FC6,),))
    77  vboxvideo_drm_SOURCES         = vboxvideo_drm.c
     81 if !defined(VBOX_WITH_GUEST_KMS_DRIVER)
     82  vboxvideo_drm_SOURCES         = vboxvideo_drm.c
     83 else
     84  vboxvideo_drm_SOURCES         = \
     85     ../../common/VBoxVideo/Modesetting.cpp \
     86        vboxvideo_device.c \
     87        vboxvideo_display.c \
     88        vboxvideo_drv.c \
     89        vboxvideo_kms.c
     90 endif
    7891
    7992endif
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