VirtualBox

Ignore:
Timestamp:
Apr 20, 2016 9:40:50 AM (9 years ago)
Author:
vboxsync
Message:

Linux host/guest modules: include the revision into the Linux kernel modules (for modinfo MODULE.ko)

Location:
trunk/src/VBox/Additions/linux/drm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/files_vboxvideo_drv

    r59978 r60584  
    1919FILES_VBOXVIDEO_DRM_NOBIN=" \
    2020    ${PATH_OUT}/version-generated.h=>version-generated.h \
     21    ${PATH_OUT}/revision-generated.h=>revision-generated.h \
    2122    ${PATH_OUT}/product-generated.h=>product-generated.h \
    2223    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.c

    r60352 r60584  
    4949
    5050#include <VBox/VBoxGuest.h>
     51#include "version-generated.h"
     52#include "revision-generated.h"
    5153
    5254#include <linux/module.h>
     
    294296MODULE_DESCRIPTION(DRIVER_DESC);
    295297MODULE_LICENSE("GPL and additional rights");
    296 
     298#ifdef MODULE_VERSION
     299MODULE_VERSION(VBOX_VERSION_STRING " r" RT_XSTR(VBOX_SVN_REV));
     300#endif
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