VirtualBox

Ignore:
Timestamp:
Apr 21, 2016 9:07:38 AM (9 years ago)
Author:
vboxsync
Message:

Additions/linux/drm: handle KERNELRELEASE / KERNELVERSION on newer kernels

File:
1 edited

Legend:

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

    r59978 r60617  
    2424MOD_NAME   = vboxvideo
    2525
     26MY_KERNELRELEASE := $(KERNELRELEASE)
     27ifeq ($(MY_KERNELRELEASE),)
     28  # as of 2.6.16 KERNELRELEASE is only set if the kernel is configured
     29  MY_KERNELRELEASE := $(KERNELVERSION)
     30endif
    2631ifeq ($(filter 1.% 2.% 3.0.% 3.1.% 3.2.% 3.3.% 3.4.% 3.5.% 3.6.% 3.7.% \
    27 3.8.% 3.9.% 3.10.%,$(KERNELRELEASE)),)
     323.8.% 3.9.% 3.10.%,$(MY_KERNELRELEASE)),)
    2833MOD_OBJS   = HGSMIBase.o HGSMICommon.o HGSMIMemAlloc.o heapoffset.o \
    2934             Modesetting.o vbox_drv.o vbox_fb.o vbox_irq.o vbox_main.o \
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