Changeset 6857 in vbox
- Timestamp:
- Feb 7, 2008 8:15:42 PM (17 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
-
Additions/linux/module/Makefile.module (modified) (1 diff)
-
Additions/linux/sharedfolders/Makefile.module (modified) (1 diff)
-
HostDrivers/Support/linux/Makefile (modified) (1 diff)
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),) -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
r6592 r6857 91 91 92 92 # guess kernel version (24 or 26) 93 ifeq ($(shell if grep '"2 .4.' $(KERN_INCL)/linux/version.h > /dev/null; then echo yes; fi),yes)94 KERN_VERSION := 2493 ifeq ($(shell if grep '"2\.4\.' $(KERN_INCL)/linux/version.h > /dev/null; then echo yes; fi),yes) 94 KERN_VERSION := 24 95 95 else 96 KERN_VERSION := 26 97 endif 98 # KERN_VERSION := $(if $(wildcard $(KERN_DIR)/Rules.make),24,26) 96 KERN_VERSION := 26 97 endif 99 98 100 99 else # neq($(KERNELRELEASE),) 101 100 102 101 # 103 # building from Linux-2.6-kbuild (make -C <kernel_directory> M=`pwd`) 104 # 105 106 KERN_VERSION := 26 102 # building from kbuild (make -C <kernel_directory> M=`pwd`) 103 # 104 105 # guess kernel version (24 or 26) 106 ifeq ($(shell if grep '"2\.4\.' $(PWD)/include/linux/version.h > /dev/null; then echo yes; fi),yes) 107 KERN_VERSION := 24 108 else 109 KERN_VERSION := 26 110 endif 107 111 108 112 endif # neq($(KERNELRELEASE),) -
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r6574 r6857 168 168 169 169 # 170 # building from Linux-2.6-kbuild (make -C <kernel_directory> M=`pwd`) 171 # 172 173 KERN_VERSION := 26 170 # building from kbuild (make -C <kernel_directory> M=`pwd`) 171 # 172 173 # guess kernel version (24 or 26) 174 KERN_VERSION := $(if $(wildcard $(PWD)/Rules.make),24,26) 174 175 175 176 endif # neq($(KERNELRELEASE),)
Note:
See TracChangeset
for help on using the changeset viewer.

