VirtualBox

Ticket #12735: VBox-uapi_version_h.diff

File VBox-uapi_version_h.diff, 685 bytes (added by Fate, 11 years ago)

Detect correct location of version.h with newer Linux kernels

  • VBox/Installer/linux/Makefile.include.header

     
    109109
    110110 # includes
    111111 ifndef KERN_INCL
    112   KERN_INCL = $(KERN_DIR)/include
     112  ifeq ($(shell if test -d $(KERN_DIR)/include/generated/uapi; then echo yes; fi),yes)
     113    KERN_INCL = $(KERN_DIR)/include/generated/uapi
     114  else
     115    KERN_INCL = $(KERN_DIR)/include
     116  fi
    113117 endif
    114118 ifneq ($(shell if test -d $(KERN_INCL); then echo yes; fi),yes)
    115119  $(error Error: unable to find the include directory for your current Linux \

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