Changeset 6857 in vbox for trunk/src/VBox/Additions/linux/module
- Timestamp:
- Feb 7, 2008 8:15:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/Makefile.module
r6574 r6857 93 93 94 94 # guess kernel version (24 or 26) 95 ifeq ($(shell if grep '"2 .4.' $(KERN_INCL)/linux/version.h > /dev/null; then echo yes; fi),yes)96 KERN_VERSION := 2495 ifeq ($(shell if grep '"2\.4\.' $(KERN_INCL)/linux/version.h > /dev/null; then echo yes; fi),yes) 96 KERN_VERSION := 24 97 97 else 98 KERN_VERSION := 2698 KERN_VERSION := 26 99 99 endif 100 # KERN_VERSION := $(if $(wildcard $(KERN_DIR)/Rules.make),24,26)101 100 102 101 else # neq($(KERNELRELEASE),) 103 102 104 103 # 105 # building from Linux-2.6-kbuild (make -C <kernel_directory> M=`pwd`)104 # building from kbuild (make -C <kernel_directory> M=`pwd`) 106 105 # 107 106 108 KERN_VERSION := 26 107 # guess kernel version (24 or 26) 108 ifeq ($(shell if grep '"2\.4\.' $(PWD)/include/linux/version.h > /dev/null; then echo yes; fi),yes) 109 KERN_VERSION := 24 110 else 111 KERN_VERSION := 26 112 endif 109 113 110 114 endif # neq($(KERNELRELEASE),)
Note:
See TracChangeset
for help on using the changeset viewer.