[oe] [meta-oe][PATCH v2] CANopenNode: recipe for building the CANopenSocket tools

Martin Jansa martin.jansa at gmail.com
Wed Jul 20 13:59:10 UTC 2016


On Thu, Jul 14, 2016 at 09:08:34AM -0600, cynthiachiu wrote:
> 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>
> ---
>  .../canopennode/canopensocket_git.bb               | 25 ++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/canopennode/canopensocket_git.bb
> 
> 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"

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]

> +
> +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
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160720/f8a9ecfc/attachment-0002.sig>


More information about the Openembedded-devel mailing list