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:
parent
094234f792
commit
cb7d25e183
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue