[meta-ti] [PATCH] srss-tc: Add recipe for Smart reflex application
Sam Nelson
sam.nelson at ti.com
Wed Jan 21 21:34:30 PST 2015
- Provides Smart reflex temperature control with keystone devices
Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
recipes-bsp/srss-tc/srss-tc_git.bb | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 recipes-bsp/srss-tc/srss-tc_git.bb
diff --git a/recipes-bsp/srss-tc/srss-tc_git.bb b/recipes-bsp/srss-tc/srss-tc_git.bb
new file mode 100644
index 0000000..79edbed
--- /dev/null
+++ b/recipes-bsp/srss-tc/srss-tc_git.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git"
+LICENSE = "BSD & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
+COMPATIBLE_MACHINE = "keystone"
+
+PV = "1.0.0.0"
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.SRSS-TC-01.00.00.00A
+SRCREV = "7aaf8308d7ba470144730275df12edae5007e07a"
+
+SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+SRSS_BIN_NAME = "srss_tc.out"
+INITSCRIPT_NAME = "run_srss_tc.sh"
+INITSCRIPT_PARAMS = "defaults 10"
+
+inherit update-rc.d
+LDFLAGS += "-lrt"
+
+do_install() {
+ install -d ${D}${bindir}/
+ install -c -m 755 ${S}/src/${SRSS_BIN_NAME} ${D}${bindir}/${SRSS_BIN_NAME}
+
+ install -d ${D}${sysconfdir}/init.d/
+ install -c -m 755 ${S}/scripts/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+}
--
1.7.9.5
More information about the meta-ti
mailing list