VirtualBox

Changeset 14655 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Nov 26, 2008 5:45:21 PM (16 years ago)
Author:
vboxsync
Message:

Linux drivers: try to hack around the DKMS problem with module dependencies

Location:
trunk/src/VBox/Additions/linux
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/Makefile.kmk

    r14218 r14655  
    3636vboxadd-mod_MODE     = a+r,u+w
    3737vboxadd-mod_SOURCES  = $(subst ",,$(FILES_VBOXADD_NOBIN))
    38 vboxadd-mod_SOURCES += $(if $(VBOX_OSE),,$(PATH_vboxadd-mod)/dkms.conf)
     38vboxadd-mod_SOURCES += $(if $(VBOX_OSE),,\
     39                         $(PATH_vboxadd-mod)/dkms.conf \
     40                         $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers)
    3941vboxadd-mod_CLEAN    = $(PATH_vboxadd-mod)/dkms.conf
    4042
     
    6567
    6668$$(PATH_vboxadd-sh)/build_in_tmp: \
    67                 $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/build_in_tmp \
     69                $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
    6870                $(VBOX_VERSION_STAMP) \
    6971                | $$(dir $$@)
  • trunk/src/VBox/Additions/linux/module/dkms.conf

    r14079 r14655  
    44PACKAGE_VERSION=_VERSION_
    55AUTOINSTALL=yes
     6POST_BUILD="do_Module.symvers vboxadd save $dkms_tree/$module/$module_version/build/Module.symvers"
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk

    r14078 r14655  
    3737vboxvfs-mod_MODE        = a+r,u+w
    3838vboxvfs-mod_SOURCES     = $(subst ",,$(FILES_VBOXVFS_NOBIN))
    39 vboxvfs-mod_SOURCES    += $(if $(VBOX_OSE),,$(PATH_vboxvfs-mod)/dkms.conf)
     39vboxvfs-mod_SOURCES    += $(if $(VBOX_OSE),,\
     40                            $(PATH_vboxvfs-mod)/dkms.conf \
     41                            $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers)
    4042vboxvfs-mod_CLEAN      += $(PATH_vboxvfs-mod)/dkms.conf
    4143
     
    9395
    9496$$(PATH_vboxvfs-sh)/build_in_tmp: \
    95                 $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/build_in_tmp \
     97                $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
    9698                $(VBOX_VERSION_STAMP) \
    9799                | $$(dir $$@)
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module

    r14218 r14655  
    248248endif # eq($(MAKECMDGOALS),clean)
    249249
     250# important: Don't remove Module.symvers! DKMS does 'make clean' before building ...
    250251clean:
    251252        for f in . linux r0drv r0drv/linux; do rm -f $$f/*.o $$f/.*.cmd $$f/.*.flags; done
    252         rm -rf .vboxvfs* .tmp_ver* vboxvfs.* Module.symvers Modules.symvers modules.order
     253        rm -rf .vboxvfs* .tmp_ver* vboxvfs.* Modules.symvers modules.order
  • trunk/src/VBox/Additions/linux/sharedfolders/dkms.conf

    r14079 r14655  
    44PACKAGE_VERSION=_VERSION_
    55AUTOINSTALL=yes
     6CLEAN="make -C $dkms_tree/$module/$module_version/build clean"
     7PRE_BUILD="do_Module.symvers vboxadd restore $dkms_tree/$module/$module_version/build/Module.symvers"
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