VirtualBox

Ignore:
Timestamp:
Apr 20, 2016 9:40:50 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106719
Message:

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

Location:
trunk/src/VBox/HostDrivers/VBoxPci/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c

    r58963 r60584  
    2222#include "the-linux-kernel.h"
    2323#include "version-generated.h"
     24#include "revision-generated.h"
    2425#include "product-generated.h"
    2526
     
    7374MODULE_LICENSE("GPL");
    7475#ifdef MODULE_VERSION
    75 MODULE_VERSION(VBOX_VERSION_STRING);
     76MODULE_VERSION(VBOX_VERSION_STRING " r" RT_XSTR(VBOX_SVN_REV));
    7677#endif
    7778
  • trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci

    r57943 r60584  
    7979    ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
    8080    ${PATH_OUT}/version-generated.h=>version-generated.h \
     81    ${PATH_OUT}/revision-generated.h=>revision-generated.h \
    8182    ${PATH_OUT}/product-generated.h=>product-generated.h \
    8283"
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