summaryrefslogtreecommitdiff
path: root/recipes/angstrom
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-05-05 13:05:50 +0200
committerKoen Kooi <koen@openembedded.org>2010-05-05 22:56:57 +0200
commitcf55ad281a61a4e201c1bc0c388becbfda72709e (patch)
treecd564c1a485b26b0add27f038ebddd855d59ac0f /recipes/angstrom
parent62b12a8c47073f7205114f3f538ae4cee2e88493 (diff)
angstrom: add TARGET_SYS to /etc/angstrom-version
Diffstat (limited to 'recipes/angstrom')
-rw-r--r--recipes/angstrom/angstrom-version.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/angstrom/angstrom-version.bb b/recipes/angstrom/angstrom-version.bb
index 6f1043cec0..1728c0dff8 100644
--- a/recipes/angstrom/angstrom-version.bb
+++ b/recipes/angstrom/angstrom-version.bb
@@ -1,7 +1,7 @@
LICENSE = "MIT"
PV = "${DISTRO_VERSION}"
-PR = "r2"
+PR = "r3"
PE = "1"
PACKAGES = "${PN}"
@@ -9,10 +9,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
export METADATA_REVISION
export METADATA_BRANCH
+export TARGET_SYS
do_install() {
mkdir -p ${D}${sysconfdir}
echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version
echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/angstrom-version
echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/angstrom-version
+ echo "Target system: ${TARGET_SYS}" >> ${D}${sysconfdir}/angstrom-version
}