meta-toolchain: Add version data to the sdk tarballs

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3820 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2008-02-15 17:29:40 +00:00
parent 094234f792
commit cb7d25e183
1 changed files with 8 additions and 0 deletions

View File

@ -123,6 +123,14 @@ do_populate_sdk() {
echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/lib/pkgconfig' >> $script
echo 'export CONFIG_SITE=${prefix}/site-config' >> $script
# Add version information
versionfile=${SDK_OUTPUT}/${prefix}/version
touch $versionfile
echo 'Distro: ${DISTRO}' >> $versionfile
echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
echo 'Timestamp: ${DATETIME}' >> $versionfile
# Package it up
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}