diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-02-15 17:29:40 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-02-15 17:29:40 +0000 |
| commit | cb7d25e1836527544afaa53394908634e2529a0b (patch) | |
| tree | d9a54c6653cd89bc8a48cddc6df732693d16da7a /meta/packages | |
| parent | 094234f792b4ae4acd21e87542ab25b3e9f7c3ef (diff) | |
| download | poky-cb7d25e1836527544afaa53394908634e2529a0b.tar.gz | |
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
Diffstat (limited to 'meta/packages')
| -rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb index fb213b88b5..525d090916 100644 --- a/meta/packages/meta/meta-toolchain.bb +++ b/meta/packages/meta/meta-toolchain.bb | |||
| @@ -123,6 +123,14 @@ do_populate_sdk() { | |||
| 123 | echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/lib/pkgconfig' >> $script | 123 | echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/lib/pkgconfig' >> $script |
| 124 | echo 'export CONFIG_SITE=${prefix}/site-config' >> $script | 124 | echo 'export CONFIG_SITE=${prefix}/site-config' >> $script |
| 125 | 125 | ||
| 126 | # Add version information | ||
| 127 | versionfile=${SDK_OUTPUT}/${prefix}/version | ||
| 128 | touch $versionfile | ||
| 129 | echo 'Distro: ${DISTRO}' >> $versionfile | ||
| 130 | echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile | ||
| 131 | echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile | ||
| 132 | echo 'Timestamp: ${DATETIME}' >> $versionfile | ||
| 133 | |||
| 126 | # Package it up | 134 | # Package it up |
| 127 | mkdir -p ${SDK_DEPLOY} | 135 | mkdir -p ${SDK_DEPLOY} |
| 128 | cd ${SDK_OUTPUT} | 136 | cd ${SDK_OUTPUT} |
