Changeset 36671 in vbox for trunk/src/VBox/HostDrivers/Support
- 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/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)
Note:
See TracChangeset
for help on using the changeset viewer.