VirtualBox

Changeset 74731 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 10, 2018 8:45:54 AM (6 years ago)
Author:
vboxsync
Message:

Additions/linux/Makefile: allow building individual modules for faster testing.
bugref:4567: Linux kernel driver maintenance
This makefile is used in Additions drivers tarballs and for quick test builds
of kernel modules. Especially in the second case it can save time to build
a specific module under a range of kernels and distributions rather than all
modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile

    r69500 r74731  
    2626KBUILD_VERBOSE =
    2727
    28 all:
     28vboxguest:
    2929        @echo "=== Building 'vboxguest' module ==="
    3030        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest
     
    3535         fi
    3636        @echo
     37
     38vboxsf: vboxguest
    3739        @if [ -d vboxsf ]; then \
    3840            if [ -f vboxguest/Module.symvers ]; then \
     
    4850            echo; \
    4951        fi
     52
     53vboxvideo:
    5054        @if [ -d vboxvideo ]; then \
    5155            if [ -f vboxguest/Module.symvers ]; then \
     
    6165            echo; \
    6266        fi
     67
     68all: vboxguest vboxsf vboxvideo
    6369
    6470install:
     
    9399        @if [ -f vboxvideo.ko ]; then /sbin/insmod vboxvideo.ko; fi
    94100
     101.PHONY: vboxguest vboxsf vboxvideo all install clean check load
     102
    95103endif # ! KBUILD_EXTMOD
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