[oe-commits] [meta-openembedded] 54/89: CANopenNode: recipe for building the CANopenSocket tools

git at git.openembedded.org git at git.openembedded.org
Tue Jul 19 11:09:21 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 8a7468da5ccbda968a4ea49abee5c9b6b1d52a4b
Author: cynthiachiu <cynthia.ms.chiu at gmail.com>
AuthorDate: Thu Jul 14 09:08:34 2016 -0600

    CANopenNode: recipe for building the CANopenSocket tools
    
    Initial check-in for the CANopenSocket tools recipe.
    
    Signed-off-by: cynthiachiu <cynthia.ms.chiu at gmail.com>
    
    Including a specific revision for the recipe.
    
    Using gitsm.
    
    Signed-off-by: cynthiachiu <cynthia.ms.chiu at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../canopennode/canopensocket_git.bb               | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/meta-oe/recipes-extended/canopennode/canopensocket_git.bb b/meta-oe/recipes-extended/canopennode/canopensocket_git.bb
new file mode 100644
index 0000000..7c58a26
--- /dev/null
+++ b/meta-oe/recipes-extended/canopennode/canopensocket_git.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Linux CANOpen tools"
+DESCRIPTION = "Linux CANOpen Protocol Stack Tools"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "gitsm://github.com/CANopenNode/CANopenSocket.git"
+SRCREV = "7777653da3a630b0dc02b3fa5ff029d9bc57cd26"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+    cd ${S}/canopend
+    make
+    cd ${S}/canopencomm
+    make
+    cd ${S}/canopencgi
+    make
+}
+
+do_install(){
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/canopend/app/canopend ${D}${bindir}
+    install -m 0755 ${S}/canopencomm/canopencomm ${D}${bindir}
+    install -m 0755 ${S}/canopencgi/canopen.cgi ${D}${bindir}
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list