summaryrefslogtreecommitdiff
path: root/recipes/robostix-utils/robostix-sertest.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/robostix-utils/robostix-sertest.bb')
-rw-r--r--recipes/robostix-utils/robostix-sertest.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/robostix-utils/robostix-sertest.bb b/recipes/robostix-utils/robostix-sertest.bb
new file mode 100644
index 0000000000..0196f6c8f3
--- /dev/null
+++ b/recipes/robostix-utils/robostix-sertest.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "robostix programs"
+SECTION = "base"
+PRIORITY = "required"
+PR = "r1"
+
+DEPENDS = robostix-module
+
+SRC_URI = " \
+ file://sertest.c \
+ "
+
+CMD_NAME=sertest
+LDLIBS = -lpthread
+
+S = "${WORKDIR}"
+
+do_compile () {
+ ${CC} ${LDLIBS} -o ${CMD_NAME} *.c
+}
+
+do_install () {
+ install -d ${D}${bindir}/
+ install -m 0755 ${WORKDIR}/${CMD_NAME} ${D}${bindir}/
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "${bindir}/*"
+