blob: d24a986e0221cc34de9a08568a45183da4ca4a52 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7#This function create a version information file
8toolchain_create_sdk_version () {
9 local versionfile=$1
10 rm -f $versionfile
11 touch $versionfile
12 echo 'Distro: ${DISTRO}' >> $versionfile
13 echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
14 echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
15 echo 'Timestamp: ${DATETIME}' >> $versionfile
16}
17toolchain_create_sdk_version[vardepsexclude] = "DATETIME"