From ef551169016a3d1d0e6423f6d529d3875003763a Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Thu, 22 Jan 2015 11:34:30 +0000 Subject: srss-tc: Add recipe for Smart reflex application - Provides Smart reflex temperature control with keystone devices Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- 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 (limited to 'recipes-bsp/srss-tc') 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 00000000..79edbed6 --- /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} +} -- cgit v1.2.3-54-g00ecf