blob: 2489b9dbeb81f48dd6167028a360619238196c2b [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001#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"