1#This function create a version information file 2toolchain_create_sdk_version () { 3 local versionfile=$1 4 rm -f $versionfile 5 touch $versionfile 6 echo 'Distro: ${DISTRO}' >> $versionfile 7 echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile 8 echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile 9 echo 'Timestamp: ${DATETIME}' >> $versionfile 10} 11toolchain_create_sdk_version[vardepsexclude] = "DATETIME" 12