Changeset 59768 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Feb 22, 2016 11:38:16 AM (9 years ago)
- 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 19 19 include $(KBUILD_PATH)/subheader.kmk 20 20 21 VBOX_WITH_GUEST_KMS_DRIVER = 122 23 21 # 24 22 # Populate FILES_VBOXVIDEO_DRM_NOBIN 25 23 # 26 24 INSTALLS += 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 25 include $(PATH_SUB_CURRENT)/files_vboxvideo_drv 32 26 vboxvideo_drm-mod_INST = $(INST_ADDITIONS)src/vboxvideo/ 33 27 vboxvideo_drm-mod_SOURCES = \ … … 45 39 # 46 40 if 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 55 43 endif 56 44 endif … … 63 51 KBUILD_BASENAME=KBUILD_STR\(vboxvideo\) \ 64 52 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 53 vboxvideo_drm_INCS += \ 54 ../../../Runtime/include \ 55 ../../../Runtime/r0drv/linux 56 vboxvideo_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 85 69 86 70 include $(FILE_KBUILD_SUB_FOOTER)
Note:
See TracChangeset
for help on using the changeset viewer.