mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 19:23:03 +01:00
As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. (From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
492 B
Plaintext
18 lines
492 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
#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"
|