summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts-base.bbclass
blob: 2489b9dbeb81f48dd6167028a360619238196c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
#This function create a version information file
toolchain_create_sdk_version () {
	local versionfile=$1
	rm -f $versionfile
	touch $versionfile
	echo 'Distro: ${DISTRO}' >> $versionfile
	echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
	echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
	echo 'Timestamp: ${DATETIME}' >> $versionfile
}
toolchain_create_sdk_version[vardepsexclude] = "DATETIME"