VirtualBox

Ignore:
Timestamp:
Feb 11, 2015 11:04:51 AM (10 years ago)
Author:
vboxsync
Message:

Linux/export_modules: nits

File:
1 edited

Legend:

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

    r44528 r54135  
    4848
    4949# Create auto-generated version file, needed by all modules
    50 echo "#ifndef __version_generated_h__" > $PATH_TMP/version-generated.h
    51 echo "#define __version_generated_h__" >> $PATH_TMP/version-generated.h
     50echo "#ifndef ___version_generated_h___" > $PATH_TMP/version-generated.h
     51echo "#define ___version_generated_h___" >> $PATH_TMP/version-generated.h
    5252echo "" >> $PATH_TMP/version-generated.h
    5353echo "#define VBOX_VERSION_MAJOR $VBOX_VERSION_MAJOR" >> $PATH_TMP/version-generated.h
    5454echo "#define VBOX_VERSION_MINOR $VBOX_VERSION_MINOR" >> $PATH_TMP/version-generated.h
    5555echo "#define VBOX_VERSION_BUILD $VBOX_VERSION_BUILD" >> $PATH_TMP/version-generated.h
     56echo "#define VBOX_VERSION_STRING_RAW \"$VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD\"" >> $PATH_TMP/version-generated.h
    5657echo "#define VBOX_VERSION_STRING \"$VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD\"" >> $PATH_TMP/version-generated.h
     58echo "#define VBOX_API_VERSION_STRING \"${VBOX_VERSION_MAJOR}_${VBOX_VERSION_MINOR}\"" >> $PATH_TMP/version-generated.h
    5759echo "" >> $PATH_TMP/version-generated.h
    5860echo "#endif" >> $PATH_TMP/version-generated.h
     
    6769
    6870# Create auto-generated product file, needed by all modules
    69 echo "#ifndef __product_generated_h__" > $PATH_TMP/product-generated.h
    70 echo "#define __product_generated_h__" >> $PATH_TMP/product-generated.h
     71echo "#ifndef ___product_generated_h___" > $PATH_TMP/product-generated.h
     72echo "#define ___product_generated_h___" >> $PATH_TMP/product-generated.h
    7173echo "" >> $PATH_TMP/product-generated.h
    7274echo "#define VBOX_VENDOR \"$VBOX_VENDOR\"" >> $PATH_TMP/product-generated.h
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