VirtualBox

Ignore:
Timestamp:
Apr 14, 2011 2:06:10 PM (14 years ago)
Author:
vboxsync
Message:

Trunk: forward ported r70873: Installer/linux: no "make kernelrelease" anymore when compiling the Linux host kernel modules because that does not work with Linux 2.6.38 anymore

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile

    r36293 r36671  
    9999                      KERN_DIR=<directory> and run Make again.)
    100100  endif
    101   # check if versions match -- works only for later 2.6 kernels
    102   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    endif
    108   endif
    109101 else
    110   # build for a dedicated kernel, no version check
    111102  ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
    112103   $(error Error: KERN_DIR does not point to a directory)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette