VirtualBox

Changeset 41993 in vbox


Ignore:
Timestamp:
Jul 3, 2012 9:24:32 AM (12 years ago)
Author:
vboxsync
Message:

Config.kmk: adapted compiling of Linux modules to recent Linux kernels (e.g. Ubuntu 3.2.0-26-generic)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r41986 r41993  
    26592659 # Since Linux 2.6.15, <linux/autoconf.h> is included like this. It cannot hurt to do the
    26602660 # same for older Linux kernels
    2661  ifneq ($(wildcard $(VBOX_LINUX_SRC)/include/generated/autoconf.h),)
     2661 ifneq ($(wildcard $(VBOX_LINUX_SRC)/include/linux/kconfig.h),)
     2662  # Linux >= 3.1
     2663  export VBOX_LINUX_INCLUDE := -include $(VBOX_LINUX_SRC)/include/linux/kconfig.h
     2664 else ifneq ($(wildcard $(VBOX_LINUX_SRC)/include/generated/autoconf.h),)
    26622665  # Linux >= 2.6.33
    26632666  export VBOX_LINUX_INCLUDE := -include $(VBOX_LINUX_SRC)/include/generated/autoconf.h
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