VirtualBox

Changeset 66071 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Mar 13, 2017 8:04:04 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113940
Message:

Additions/linux: remove more hacks

Location:
trunk/src/VBox/Additions/linux
Files:
2 edited

Legend:

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

    r65381 r66071  
    3131
    3232
    33 #
    34 # The kernel module.
    35 #
    36 # Note! Syntax checking only.  Don't bother if drmP.h is missing (introduced
    37 #       in 2.6.27).  For the mode-setting driver make sure this is supported.
    38 # Note! The DEBUG_HASH* stuff is for CONFIG_DYNAMIC_DEBUG-enabled kernels.
    39 #
    40 if defined(VBOX_WITH_ADDITION_DRIVERS)
    41  if "$(shell grep -s 'DRM_IOCTL_MODE_CURSOR2' $(foreach inc,$(VBOX_LINUX_INCS),$(inc)/uapi/drm/drm.h))" != ""
    42   SYSMODS += vboxvideo_drm
    43  endif
    44 endif
    45 
    46 vboxvideo_drm_TEMPLATE        = VBOXGUESTR0
    47 vboxvideo_drm_CFLAGS          = -fshort-wchar
    48 vboxvideo_drm_DEFS            = \
    49         MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \
    50         KBUILD_MODNAME=KBUILD_STR\(vboxvideo\) \
    51         KBUILD_BASENAME=KBUILD_STR\(vboxvideo\) \
    52         DEBUG_HASH=2 DEBUG_HASH2=3
    53 vboxvideo_drm_INCS           += \
    54   ../../../Runtime/include \
    55   ../../../Runtime/r0drv/linux \
    56   $(VBOX_GRAPHICS_INCS)
    57 vboxvideo_drm_SOURCES         = \
    58   ../../common/VBoxVideo/HGSMIBase.cpp \
    59   ../../common/VBoxVideo/Modesetting.cpp \
    60   ../../common/VBoxVideo/VBVABase.cpp \
    61   ../../../GuestHost/HGSMI/HGSMICommon.cpp \
    62   ../../../GuestHost/HGSMI/HGSMIMemAlloc.cpp \
    63   ../../../Runtime/common/alloc/heapoffset.cpp \
    64         vbox_drv.c \
    65         vbox_fb.c \
    66         vbox_irq.c \
    67         vbox_main.c \
    68         vbox_mode.c \
    69         vbox_ttm.c
    70 
    71 vbox_drv.c_DEPS               = $(VBOX_SVN_REV_HEADER)
    7233
    7334include $(FILE_KBUILD_SUB_FOOTER)
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk

    r62527 r66071  
    3333
    3434#
    35 # The module (for syntax checking).
    36 # The DEBUG_HASH* stuff is for CONFIG_DYNAMIC_DEBUG-enabled kernels
    37 #
    38 ifdef VBOX_WITH_ADDITION_DRIVERS
    39  SYSMODS += vboxsf
    40  vboxsf_TEMPLATE        = VBOXGUESTR0
    41  vboxsf_CFLAGS          = -fshort-wchar
    42  vboxsf_DEFS            = \
    43         MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \
    44         KBUILD_MODNAME=KBUILD_STR\(vboxsf\) \
    45         KBUILD_BASENAME=KBUILD_STR\(vboxsf\) \
    46         DEBUG_HASH=2 DEBUG_HASH2=3
    47  # detect fc6 2.6.18
    48  vboxsf_DEFS           += \
    49         $(foreach inc, $(VBOX_LINUX_INCS),\
    50                 $(if $(wildcard $(inc)/linux/utsrelease.h),\
    51                   $(if $(shell if grep -q '"2.6.18.*fc6.*"' $(inc)/linux/utsrelease.h;\
    52                                then echo yes; fi),KERNEL_FC6,),))
    53  # detect rhel5 2.6.18
    54  vboxsf_DEFS           += \
    55         $(foreach inc, $(VBOX_LINUX_INCS),\
    56                 $(if $(wildcard $(inc)/linux/utsrelease.h),\
    57                   $(if $(shell if grep -q '"2.6.18.*el5.*"' $(inc)/linux/utsrelease.h;\
    58                                then echo yes; fi),KERNEL_FC6,),))
    59 
    60  vboxsf_INCS            = \
    61         $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
    62  vboxsf_SOURCES         = \
    63         vfsmod.c \
    64         utils.c \
    65         dirops.c \
    66         lnkops.c \
    67         regops.c
    68  vboxsf_LIBS            = \
    69         $(VBOX_LIB_VBGL_R0)
    70 
    71 vfsmod.c_DEPS           = $(VBOX_SVN_REV_HEADER)
    72 endif
    73 
    74 #
    7535# The mount util.
    7636#
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