VirtualBox

Changeset 69021 in vbox


Ignore:
Timestamp:
Oct 9, 2017 7:23:26 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118292
Message:

Additions/linux/drm: never try to build the drm module on EL6.
bugref:8524: Additions/linux: play nicely with distribution-installed Additions

RHEL6 has back-ported a lot of the current drm code to their 2.6.32 kernel,
but our driver still does not build there without fixes, and we do not
actually need it to. So disable building it altogether there.

File:
1 edited

Legend:

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

    r68760 r69021  
    2222include $(obj)/Makefile.include.header
    2323
     24BUILD = 1
     25
    2426# We want to build on Linux 3.11 and later, plus the 3.10 EL 7.3 and later
    2527# kernels.  This file was added in 3.11 and back-ported to the EL 7.3 kernel.
    26 ifneq ($(wildcard $(KERN_INCL)/drm/drm_rect.h),)
     28ifeq ($(wildcard $(KERN_INCL)/drm/drm_rect.h),)
     29 BUILD =
     30endif
     31
     32# And we do not want to build on EL6, regardless of what may have been
     33# backported.
     34ifneq ($(wildcard /etc/redhat-release),)
     35 ifneq ($(shell grep "Enterprise.*release 6" /etc/redhat-release),)
     36  BUILD =
     37 endif
     38endif
     39
     40ifneq ($(BUILD),)
    2741
    2842MOD_NAME   = vboxvideo
Note: See TracChangeset for help on using the changeset viewer.

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