VirtualBox

Ignore:
Timestamp:
Oct 17, 2017 7:24:56 PM (7 years ago)
Author:
vboxsync
Message:

Now the clean rule for our kernel modules needs KERN_VER too.
bugref:3809: Linux installer maintenance

Since the reworking of the Linux kernel module make files we ask the kernel
build system to do the clean rule for us. That means we need a valid kernel
build path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/debian/rules

    r68931 r69125  
    149149        rm -rf $(moddir)
    150150        mkdir $(moddir)
    151         make -C $(builddir)/bin/src/vboxdrv clean
    152151        for d in $(wildcard /lib/modules/*); do \
    153152            if [ -L $$d/build ]; then \
     
    163162                (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxpci || true) && \
    164163                make -j4 -C $(builddir)/bin/src/vboxpci KBUILD_VERBOSE= KERN_VER=$$(basename $$d) all; \
     164                make -C $(builddir)/bin/src/vboxdrv KERN_VER=$$(basename $$d) clean \
     165                make -C $(builddir)/bin/src/vboxnetflt KERN_VER=$$(basename $$d) clean \
     166                make -C $(builddir)/bin/src/vboxnetadp KERN_VER=$$(basename $$d) clean \
     167                make -C $(builddir)/bin/src/vboxpci KERN_VER=$$(basename $$d) clean
    165168            fi; \
    166169        done
    167         make -C $(builddir)/bin/src/vboxdrv clean
    168         make -C $(builddir)/bin/src/vboxnetflt clean
    169         make -C $(builddir)/bin/src/vboxnetadp clean
    170         make -C $(builddir)/bin/src/vboxpci clean
    171170        touch debian/modules-stamp
    172171
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