ccief-basic: add CCLINK IEF Basic for Linux
PATCH 1/2 ccief-basic: add CCLINK IEF Basic for Linux
--- .../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
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +44 -0
@@ -0,0 +1,44 @@ +DESCRIPTION = "CC-Link Industrial Ethernet Field Basic Master and Slave Implementation" +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"
Signature · 1 line
1.9.1
PATCH 2/2 packagegroup-arago-tisdk-addons: add ccief-basic
--- .../recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +2 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install additional utilities/demos for SDKs" LICENSE = "MIT" -PR = "r64" +PR = "r65" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -124,6 +124,7 @@ EXTRA_PACKAGES = " \ nodejs \ nodejs-npm \ protobuf \ + ccief-basic \ " EXTRA_PACKAGES_omapl138 = " \
Signature · 1 line
1.9.1
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb line 1
Quoted 13 lines · Hongmei Gou
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.bbmeta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +1
-0@@ -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
Quoted 33 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +33
-0+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}
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb line 44
Quoted 10 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +10
-0+ +# 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?
Quoted 7 lines
Signature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Thanks Denys. Submitted the v2 patch for the changes you mentioned below.
Quoted 93 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, September 26, 2017 1:34 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH 1/2] ccief-basic: add CCLINK IEF Basic for LinuxQuoted 3 lines · Hongmei Gou
Signed-off-by Hongmei Gou <[email protected]>--- .../recipes-support/cclink/ccief-basic_git.bb | 44++++++++++++++++++++++
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb line 1
Quoted 13 lines
1 file changed, 44 insertions(+) create mode 100644meta-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..41332fameta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +1
-0@@ -0,0 +1,44 @@ +DESCRIPTION = "CC-Link Industrial Ethernet Field Basic Master and SlaveImplementation"
^^^^^^
https://lists.yoctoproject.org/pipermail/meta-ti/2017-July/010261.htmlmeta-arago-extras/recipes-support/cclink/ccief-basic_git.bb line 3
Quoted 2 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +2
-0+LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://CCIEF-BASIC_Master/library/include/SLMP.h;beginline=1;endline=34;md5=9bcca1b
46fb3c83966c242e5afa3c352"meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb
Quoted 12 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +12
-0+ +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}"
Quoted 8 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +8
-0+ +SRCREV = "${CCIEF-BASIC_SRCREV}" + +S = "${WORKDIR}/git" + +do_compile() { +# build Master sample application + cd ${S}/CCIEF-BASIC_Master/build/linuxmeta-arago-extras/recipes-support/cclink/ccief-basic_git.bb
Quoted 10 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +10
-0+ 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}
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb
Quoted 6 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +6
-0+ 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
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb line 44
Quoted 6 lines
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb new file +6
-0+ 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?
Quoted 7 lines
--
1.9.1_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago