Changeset 17935 in vbox for trunk/src/VBox/Additions/linux/drm/Makefile.module
- Timestamp:
- Mar 16, 2009 2:01:40 PM (16 years ago)
- File:
-
- 1 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)
Note:
See TracChangeset
for help on using the changeset viewer.