Skip to contentSkip to conversation

CANopenNode: recipe for building the CANopenSocket tools

PATCH In review cynthiachiu 2 participants 3 messages Jul 14, 2016 – Jul 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 CANopenNode: recipe for building the CANopenSocket tools

Initial check-in for the CANopenSocket tools recipe.

Including a specific revision for the recipe.

Using gitsm.

---
 .../canopennode/canopensocket_git.bb               | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopennode/canopensocket_git.bb
meta-oe/recipes-extended/canopennode/canopensocket_git.bb new file +25 -0
new file mode 100644
index 0000000..7c58a26
@@ -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}
+}
Signature · 1 line
1.9.1
#1 lore raw
Quoted 20 lines · cynthiachiu

Initial check-in for the CANopenSocket tools recipe.

Including a specific revision for the recipe.

Using gitsm.

---
 .../canopennode/canopensocket_git.bb               | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopennode/canopensocket_git.bb
meta-oe/recipes-extended/canopennode/canopensocket_git.bb new file +0 -0
new file mode 100644
index 0000000..7c58a26

meta-oe/recipes-extended/canopennode/canopensocket_git.bb line 4

Quoted 4 lines
meta-oe/recipes-extended/canopennode/canopensocket_git.bb new file +4 -0
@@ -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"

canopensocket-git: canopensocket: LIC_FILES_CHKSUM points to an invalid
file:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/canopensocket/git-r0/git/gpl-2.0.txt [license-checksum]

Quoted 29 lines
meta-oe/recipes-extended/canopennode/canopensocket_git.bb new file +21 -0
+
+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}
+}
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

Hi,

Thanks for your feedback, I will update the recipe.

Regards,
Cynthia Chiu

Quoted 76 lines · Martin Jansa
Quoted 11 lines · cynthiachiu

Initial check-in for the CANopenSocket tools recipe.

Including a specific revision for the recipe.

Using gitsm.

---
 .../canopennode/canopensocket_git.bb               | 25

++++++++++++++++++++++

Quoted 2 lines
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopennode/

canopensocket_git.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-extended/canopennode/canopensocket_git.bb

meta-oe/recipes-extended/canopennode/canopensocket_git.bb line 4

Quoted 9 lines

new file mode 100644
index 0000000..7c58a26

meta-oe/recipes-extended/canopennode/canopensocket_git.bb new file +4 -0
@@ -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"

canopensocket-git: canopensocket: LIC_FILES_CHKSUM points to an invalid file:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/canopensocket/git-r0/git/gpl-2.0.txt [license-checksum]

Quoted 24 lines
meta-oe/recipes-extended/canopennode/canopensocket_git.bb new file +21 -1
+
+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}
+}
--

1.9.1

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel