diff options
author | Jesse Gilles <jgilles@multitech.com> | 2011-06-28 15:16:57 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2011-06-28 15:16:57 -0500 |
commit | b23d1d80a23e8ce1910ba7c5006a4fddf3325c7d (patch) | |
tree | 40a273fff1fab26a90870668e232b4d79b5ea908 /multitech/recipes/multitech/corecdp-version.bb |
initial work on multitech bitbake layer for CoreCDP
Diffstat (limited to 'multitech/recipes/multitech/corecdp-version.bb')
-rw-r--r-- | multitech/recipes/multitech/corecdp-version.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/multitech/recipes/multitech/corecdp-version.bb b/multitech/recipes/multitech/corecdp-version.bb new file mode 100644 index 0000000..6b4bd37 --- /dev/null +++ b/multitech/recipes/multitech/corecdp-version.bb @@ -0,0 +1,18 @@ +LICENSE = "MIT" + +PV = "${DISTRO_VERSION}" +PR = "r1" +PE = "1" + +PACKAGES = "${PN}" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +export METADATA_REVISION +export METADATA_BRANCH + +do_install() { + mkdir -p ${D}${sysconfdir} + echo "CoreCDP ${DISTRO_VERSION}" > ${D}${sysconfdir}/corecdp-version + echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/corecdp-version + echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/corecdp-version +} |