ti-csl: new recipe providing CSL for TI-KeyStone2 devices
PATCH v2 1/1 ti-csl: new recipe providing CSL for TI-KeyStone2 devices
-This package provides chip support library interface files
---
* grouped SRC_URI and SRCREV together
* Modified do_install to copy the needed files only instead of copy everything delete unwanted files.
---
--- meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "TI CSL" +LICENSE = "TI BSD" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" + +COMPATIBLE_MACHINE = "keystone-evm" +ALLOW_EMPTY_${PN} = "1" + +PR = "r0" +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}" +# commit ID corresponds to DEV.CSL_KEYSTONE2.02.00.00.17 +SRCREV = "f6f90144c14e1ee783c4b893b52e54830be8166e" + +S = "${WORKDIR}/git" + +do_install () { + cd ${S} + install -d ${D}${includedir}/ti/csl + find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl + find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl/src/ip/serdes_sb/V0 +} +
Signature · 1 line
1.7.9.5
Quoted 65 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Aravind Batni
Sent: Wednesday, February 05, 2014 1:15 PM
To: [email protected]
Cc: Aravind Batni
Subject: [meta-arago] [PATCH v2] ti-csl: new recipe providing CSL for TI-KeyStone2 devices-This package provides chip support library interface files
Signed-off-by Aravind Batni <[email protected]>---
* groupedSRC_URIand SRCREV together
* Modifieddo_installto copy the needed files only instead of copy everything
delete unwanted files.
---
---
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb | 22
++++++++++++++++++++1 file changed, 22 insertions(+)create mode 100644 meta-arago-extras/recipes-bsp/ti-csl/ti- csl_git.bb
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +3
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "TI CSL" +LICENSE = "TI BSD" +LIC_FILES_CHKSUM ="file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +7
-0+ +COMPATIBLE_MACHINE = "keystone-evm" +ALLOW_EMPTY_${PN} = "1" + +PR = "r0" +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +9
-0+# commit ID corresponds to DEV.CSL_KEYSTONE2.02.00.00.17 +SRCREV = "f6f90144c14e1ee783c4b893b52e54830be8166e" + +S = "${WORKDIR}/git" + +do_install () { + cd ${S} + install -d ${D}${includedir}/ti/csl + find . -name "*.h" -type f | xargs -I {} cp --parents {}${D}${includedir}/ti/csl
+ find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {}
cp --parents {} ${D}${includedir}/ti/csl/src/ip/serdes_sb/V0meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +2
-1+} + --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 19 lines · Aravind Batni
-This package provides chip support library interface files
Signed-off-by Aravind Batni <[email protected]>---
* groupedSRC_URIand SRCREV together
* Modifieddo_installto copy the needed files only instead of copy everything delete unwanted files.
------ meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bbmeta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +0
-0
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb line 5
Quoted 5 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +5
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "TI CSL" +LICENSE = "TI BSD" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" + +COMPATIBLE_MACHINE = "keystone-evm"
Do you want to relax it to entire "keystone" family, not just EVM?
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb line 17
Quoted 11 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +11
-0+ALLOW_EMPTY_${PN} = "1" + +PR = "r0" +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}" +# commit ID corresponds to DEV.CSL_KEYSTONE2.02.00.00.17 +SRCREV = "f6f90144c14e1ee783c4b893b52e54830be8166e" +S = "${WORKDIR}/git" + +do_install () { + cd ${S}
do_install already operates from within ${S}. If you need to control it further, you can pass it to find commands below, instead of "."
Either way it's rather nit-picking, along with SRCREV order...
Quoted 12 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +5
-0+ install -d ${D}${includedir}/ti/csl + find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl + find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl/src/ip/serdes_sb/V0 +} +Signature · 6 lines
1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Please see response in-lined.
-Best Regards,
Aravind
Quoted 35 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, February 05, 2014 2:53 PM
To: Aravind Batni
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH v2] ti-csl: new recipe providing CSL for TI- KeyStone2 devicesQuoted 6 lines · Aravind Batni
-This package provides chip support library interface files
Signed-off-by Aravind Batni <[email protected]>---
* groupedSRC_URIand SRCREV together
* Modifieddo_installto copy the needed files only instead of copyeverything
Quoted 4 lines
delete unwanted files.
------ meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb | 22++++++++++++++++++++
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb line 3
Quoted 13 lines
1 file changed, 22 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bbmeta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +3
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "TI CSL" +LICENSE = "TI BSD" +LIC_FILES_CHKSUM ="file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
Quoted 5 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb line 5
Quoted 2 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +2
-0+ +COMPATIBLE_MACHINE = "keystone-evm"Do you want to relax it to entire "keystone" family, not just EVM?
[Aravind Batni] Yes, we can change it to "keystone"
Quoted 7 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb
Quoted 6 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +5
-0+ALLOW_EMPTY_${PN} = "1" + +PR = "r0" +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
Quoted 7 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb line 17
Quoted 6 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +6
-0+# commit ID corresponds to DEV.CSL_KEYSTONE2.02.00.00.17 SRCREV = +"f6f90144c14e1ee783c4b893b52e54830be8166e" +S = "${WORKDIR}/git" + +do_install () { + cd ${S}
[Aravind Batni] Yes, this can be removed and would be part of next patch submit.
Quoted 6 lines
do_installalready operates from within ${S}. If you need to control it further, you can pass it to find commands below, instead of "."Either way it's rather nit-picking, along with SRCREV order...
[Aravind Batni] "find " needs the relative path from ${S} for CSL while installing to /usr/include. If we provide ${S} instead of ".", find will result in absolute path which will result in in correct installation of CSL files. We will send an updated patch with the updates as mentioned.
Quoted 14 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb line 18
Quoted 2 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +2
-0+ install -d ${D}${includedir}/ti/csl + find . -name "*.h" -type f | xargs -I {} cp --parents {}${D}${includedir}/ti/csl
Quoted 11 lines
meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb new file +4
-1+ find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp +--parents {} ${D}${includedir}/ti/csl/src/ip/serdes_sb/V0 +} + --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago