Changeset 36671 in vbox
- Timestamp:
- Apr 14, 2011 2:06:10 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.0 (added) merged: 70873
- Property svn:mergeinfo changed
-
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r36408 r36671 176 176 KERN_DIR=<directory> and run Make again.) 177 177 endif 178 # check if versions match -- works only for later 2.6 kernels179 VBOX_KERN_VER := $(shell $(MAKE) -sC $(KERN_DIR) --no-print-directory kernelrelease 2> /dev/null || true)180 ifneq ($(VBOX_KERN_VER),)181 ifneq ($(VBOX_KERN_VER),$(shell uname -r))182 $(error Error: /usr/src/linux (version $(VBOX_KERN_VER)) does not match \183 the current kernel (version $(shell uname -r)))184 endif185 endif186 178 else 187 # build for a dedicated kernel, no version check188 179 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes) 189 180 $(error Error: KERN_DIR does not point to a directory) -
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
r36293 r36671 95 95 KERN_DIR=<directory> and run Make again.) 96 96 endif 97 # check if versions match -- works only for later 2.6 kernels98 VBOX_KERN_VER := $(shell $(MAKE) -sC $(KERN_DIR) --no-print-directory kernelrelease 2> /dev/null || true)99 ifneq ($(VBOX_KERN_VER),)100 ifneq ($(VBOX_KERN_VER),$(shell uname -r))101 $(error Error: /usr/src/linux (version $(VBOX_KERN_VER)) does not match \102 the current kernel (version $(shell uname -r)))103 endif104 endif105 97 else 106 # build for a dedicated kernel, no version check107 98 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes) 108 99 $(error Error: KERN_DIR does not point to a directory) -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
r36293 r36671 99 99 KERN_DIR=<directory> and run Make again.) 100 100 endif 101 # check if versions match -- works only for later 2.6 kernels102 VBOX_KERN_VER := $(shell $(MAKE) -sC $(KERN_DIR) --no-print-directory kernelrelease 2> /dev/null || true)103 ifneq ($(VBOX_KERN_VER),)104 ifneq ($(VBOX_KERN_VER),$(shell uname -r))105 $(error Error: /usr/src/linux (version $(VBOX_KERN_VER)) does not match \106 the current kernel (version $(shell uname -r)))107 endif108 endif109 101 else 110 # build for a dedicated kernel, no version check111 102 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes) 112 103 $(error Error: KERN_DIR does not point to a directory)
Note:
See TracChangeset
for help on using the changeset viewer.