On Mon, Sep 25, 2017 at 03:02:52PM -0400, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <[email protected]>
> ---
>  .../recipes-support/cclink/ccief-basic_git.bb      | 44 
> ++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
>  create mode 100644 
> meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb
> 
> diff --git a/meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb 
> b/meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb
> new file mode 100644
> index 0000000..41332fa
> --- /dev/null
> +++ b/meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb
> @@ -0,0 +1,44 @@
> +DESCRIPTION = "CC-Link Industrial Ethernet Field Basic Master and Slave 
> Implementation"

^^^^^^
https://lists.yoctoproject.org/pipermail/meta-ti/2017-July/010261.html


> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = 
> "file://CCIEF-BASIC_Master/library/include/SLMP.h;beginline=1;endline=34;md5=9bcca1b46fb3c83966c242e5afa3c352"
> +
> +PV = "1.0"
> +PR = "r0"
> +
> +CCIEF-BASIC_GIT_URI = "git://git.ti.com/processor-sdk/cclink.git"
> +CCIEF-BASIC_GIT_PROTOCOL = "git"
> +CCIEF-BASIC_GIT_BRANCH = "master"
> +
> +CCIEF-BASIC_SRCREV = "8b4f9aea6550ff563d21ff3979aa6e7cdc708998"
> +
> +BRANCH = "${CCIEF-BASIC_GIT_BRANCH}"
> +SRC_URI = 
> "${CCIEF-BASIC_GIT_URI};protocol=${CCIEF-BASIC_GIT_PROTOCOL};branch=${BRANCH}"
> +
> +SRCREV = "${CCIEF-BASIC_SRCREV}"
> +
> +S = "${WORKDIR}/git"
> +
> +do_compile() {
> +# build Master sample application
> +    cd ${S}/CCIEF-BASIC_Master/build/linux
> +    oe_runmake
> +# build Slave sample application
> +    cd ${S}/CCIEF-BASIC_Slave/build/linux
> +    oe_runmake
> +}
> +
> +do_install() {
> +# install CCIEF BASIC binaries
> +    install -d ${D}${bindir}
> +    install -m 755 ${S}/CCIEF-BASIC_Master/build/linux/Master_sample 
> ${D}${bindir}
> +    install -m 755 ${S}/CCIEF-BASIC_Slave/build/linux/Slave_sample 
> ${D}${bindir}
> +
> +# install CCIEF BASIC configuration files
> +    install -d ${D}${datadir}/cclink
> +    install -m 644 ${S}/CCIEF-BASIC_Master/sample/MasterParameter.csv 
> ${D}${datadir}/cclink
> +    install -m 644 ${S}/CCIEF-BASIC_Slave/sample/SlaveParameter.csv 
> ${D}${datadir}/cclink
> +}
> +
> +FILES_${PN} += "${datadir}/cclink"
> +
> +INSANE_SKIP_${PN} = "ldflags"

If you need this, then LDFLAGS are not being passed properly to the build. Any 
chance to fix this?


> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to