VirtualBox

Changeset 50035 in vbox


Ignore:
Timestamp:
Jan 9, 2014 11:41:33 AM (11 years ago)
Author:
vboxsync
Message:

Additions/linux/drm: hack to build on EL6.

File:
1 edited

Legend:

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

    r44528 r50035  
    3232# What on earth is this?
    3333MOD_INCL  += $(addprefix -I$(KBUILD_EXTMOD)/vboxvideo,/ /include /r0drv/linux)
     34# Enterprise Linux 6.5 does not include the drm user API headers with the kernel
     35# headers.
     36MOD_INCL += $(foreach inc,$(KERN_INCL),\
     37              $(if $(wildcard $(inc)/linux/utsrelease.h),\
     38                $(if $(shell grep '"2.6.32.*el6.*"' $(inc)/linux/utsrelease.h),\
     39                      -I/usr/include,),))
    3440MOD_DEFS  := -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
    3541             -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE \
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