Changeset 17935 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Mar 16, 2009 2:01:40 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/Makefile.module
r17564 r17935 122 122 123 123 # guess kernel version (24 or 26) 124 ifeq ($(shell if grep '"2\.4\.' $(PWD)/include/linux/version.h> /dev/null; then echo yes; fi),yes)124 ifeq ($(shell if echo "$(VERSION).$(PATCHLEVEL)." | grep '2\.4\.' > /dev/null; then echo yes; fi),yes) 125 125 KERN_VERSION := 24 126 126 else … … 164 164 165 165 # override is required by the Debian guys 166 override MODULE = \ 167 $(if $(strip $(foreach inc,$(patsubst -I%,%,$(INCL)),\ 168 $(wildcard $(inc)/drm/drmP.h))),vboxvideo,) 169 170 OBJS = \ 171 $(if $(strip $(foreach inc,$(patsubst -I%,%,$(INCL)),\ 172 $(wildcard $(inc)/drm/drmP.h))),vboxvideo_drm.o,) 166 override MODULE = vboxvideo 167 OBJS = vboxvideo_drm.o 173 168 174 169 ifeq ($(KERN_VERSION), 24) -
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r17406 r17935 55 55 56 56 #include <linux/autoconf.h> 57 #include <linux/version.h> 58 59 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 60 57 61 #include "drm/drmP.h" 58 62 #include "vboxvideo_drm.h" … … 106 110 MODULE_LICENSE("GPL and additional rights"); 107 111 112 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) */ -
trunk/src/VBox/Additions/linux/module/Makefile.module
r15816 r17935 158 158 159 159 # guess kernel version (24 or 26) 160 ifeq ($(shell if grep '"2\.4\.' $(PWD)/include/linux/version.h > /dev/null; then echo yes; fi),yes)160 ifeq ($(shell if echo "$(VERSION).$(PATCHLEVEL)." | grep '2\.4\.' > /dev/null; then echo yes; fi),yes) 161 161 KERN_VERSION := 24 162 162 else -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
r17564 r17935 149 149 150 150 # guess kernel version (24 or 26) 151 ifeq ($(shell if grep '"2\.4\.' $(PWD)/include/linux/version.h> /dev/null; then echo yes; fi),yes)151 ifeq ($(shell if echo "$(VERSION).$(PATCHLEVEL)." | grep '2\.4\.' > /dev/null; then echo yes; fi),yes) 152 152 KERN_VERSION := 24 153 153 else
Note:
See TracChangeset
for help on using the changeset viewer.