Changeset 36671 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/linux
- Timestamp:
- Apr 14, 2011 2:06:10 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 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/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)
Note:
See TracChangeset
for help on using the changeset viewer.