VirtualBox

Ignore:
Timestamp:
Aug 28, 2020 6:36:30 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140134
Message:

Additions/linux/Makefile, HostDrivers/linux/Makefile: Many cleanups in the Linux kernel module Makefiles, making them more uniform, and allow install of individual modules. Additionally, allow building of the kernel modules straight from the respective subdirectory (no dependencies across directories, so vboxdrv/vboxguest still needs to be built first, otherwise you end up with undefined symbols). Finally some parallelization improvements. At the top level still uses the Module.symvers copying and somewhat quirky KBUILD_EXTRA_SYMBOLS pointing to the copy, because this is backwards compatible to before KBUILD_EXTRA_SYMBOLS was invented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r85523 r85939  
    2525#
    2626
    27 # Find the directory of this makefile.
    28 VBOXDRV_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
    29 
    3027# Linux kbuild sets this to our source directory if we are called from there
    3128obj ?= $(CURDIR)
    3229include $(obj)/Makefile-header.gmk
     30VBOXDRV_DIR := $(VBOX_MODULE_SRC_DIR)
    3331
    3432VBOXMOD_NAME = vboxdrv
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