VirtualBox

Changeset 78447 in vbox


Ignore:
Timestamp:
May 8, 2019 10:59:59 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130449
Message:

Installers/Linux: make it possible to build our kernel modules in-tree.
This change lets our kernel module build process use kernel headers in a
kernel source tree when they are built as part of a kernel build, and is the
last known requirement for building the Additions modules in that way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile-header.gmk

    r78446 r78447  
    174174
    175175 ifeq ($(KERN_DIR),)
    176   KERN_DIR := /lib/modules/$(KERN_VER)/build
     176  ifneq ($(srctree),)
     177   KERN_DIR := $(srctree)
     178  else
     179   KERN_DIR := /lib/modules/$(KERN_VER)/build
     180  endif
    177181 endif
    178182endif # neq($(KERNELRELEASE),)
Note: See TracChangeset for help on using the changeset viewer.

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