ipc-transport: Clean up recipe
PATCH 1/2 ipc-transport: Clean up recipe
--- recipes-ti/ipc/ipc-transport-qmss.inc | 4 +++- recipes-ti/ipc/ipc-transport-srio.inc | 4 +++- recipes-ti/ipc/ipc-transport.inc | 14 ++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-)
recipes-ti/ipc/ipc-transport-qmss.inc +3 -1
@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" COMPATIBLE_MACHINE = "keystone"
recipes-ti/ipc/ipc-transport-srio.inc +3 -1
@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" COMPATIBLE_MACHINE = "k2hk-evm"
recipes-ti/ipc/ipc-transport.inc +8 -6
@@ -1,15 +1,17 @@ -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" +LICENSE = "BSD-3-Clause" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git" -IPC_TRANSPORT_GIT_BRANCH = "master" IPC_TRANSPORT_GIT_PROTOCOL = "git" +IPC_TRANSPORT_GIT_BRANCH = "master" -# Below commit ID corresponds to DEV.IPC-TRANSPORT.02.00.00.01 +# Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.01" IPC_TRANSPORT_SRCREV = "88ea336c584ccec4b2c281cd7f75df9dff6d4edf" -BRANCH="${IPC_TRANSPORT_GIT_BRANCH}" +BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}" SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}" + SRCREV = "${IPC_TRANSPORT_SRCREV}" PV = "02.00.00.01" - -INC_PR = "r1" +INC_PR = "r2"
Signature · 1 line
1.7.10.4
PATCH 2/2 ipc-transport-rtos: Add RTOS packages for IPC transports
--- recipes-ti/ipc/ipc-transport-common-rtos_git.bb | 23 +++++++++++++++++++++ recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb | 25 +++++++++++++++++++++++ recipes-ti/ipc/ipc-transport-srio-rtos_git.bb | 24 ++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 recipes-ti/ipc/ipc-transport-common-rtos_git.bb create mode 100644 recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb create mode 100644 recipes-ti/ipc/ipc-transport-srio-rtos_git.bb
recipes-ti/ipc/ipc-transport-common-rtos_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +require recipes-ti/includes/ti-paths.inc +require ipc-transport.inc + +PR = "${INC_PR}.1" + +LIC_FILES_CHKSUM = "file://common_src/bench_common.h;beginline=1;endline=31;md5=a6ddfb26d2097041d513e3881f40e4e8" + +COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e-evm" + +IPC_TRANSPORT_COMMON_DESTSUFFIX = "git/c66/example" + +S = "${WORKDIR}/${IPC_TRANSPORT_COMMON_DESTSUFFIX}" + +do_compile() { + : +} + +do_install () { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66/example + cp -r ${S} ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66 +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66/example/*"
recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb new file +25 -0
@@ -0,0 +1,25 @@ +inherit ti-pdk +require ipc-transport.inc + +PR = "${INC_PR}.4" + +LIC_FILES_CHKSUM = "file://TransportQmss.xdc;beginline=1;endline=35;md5=ad783760d74a4cc5b8d4ad3d8a1f28a2" + +COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e-evm" + +DEPENDS_append = " qmss-lld-rtos \ + cppi-lld-rtos \ + ti-ipc-rtos \ + ipc-transport-common-rtos \ +" + +IPC_TRANSPORT_QMSS_DESTSUFFIX = "git/c66/qmss" + +S = "${WORKDIR}/${IPC_TRANSPORT_QMSS_DESTSUFFIX}" + +XDCARGS_k2hk-evm = "k2h k2k" +XDCARGS_k2e-evm = "k2e" +XDCARGS_k2l-evm = "k2l" + +export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}" +XDCPATH_append = ";${IPC_INSTALL_DIR}/packages"
recipes-ti/ipc/ipc-transport-srio-rtos_git.bb new file +24 -0
@@ -0,0 +1,24 @@ +inherit ti-pdk +require ipc-transport.inc + +PR = "${INC_PR}.2" + +LIC_FILES_CHKSUM = "file://TransportSrio.xdc;beginline=1;endline=35;md5=4d466471e4b933a0cc353a46bb546fe7" + +COMPATIBLE_MACHINE = "k2hk-evm" + +DEPENDS_append = " qmss-lld-rtos \ + cppi-lld-rtos \ + srio-lld-rtos \ + ti-ipc-rtos \ + ipc-transport-common-rtos \ +" + +IPC_TRANSPORT_SRIO_DESTSUFFIX = "git/c66/srio" + +S = "${WORKDIR}/${IPC_TRANSPORT_SRIO_DESTSUFFIX}" + +XDCARGS_k2hk-evm = "k2h k2k" + +export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}" +XDCPATH_append = ";${IPC_INSTALL_DIR}/packages"
Signature · 1 line
1.7.10.4
Quoted 12 lines · Justin Sobota
Signed-off-by Justin Sobota <[email protected]>--- recipes-ti/ipc/ipc-transport-qmss.inc | 4 +++- recipes-ti/ipc/ipc-transport-srio.inc | 4 +++- recipes-ti/ipc/ipc-transport.inc | 14 ++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-)recipes-ti/ipc/ipc-transport-qmss.inc +0
-0
recipes-ti/ipc/ipc-transport-qmss.inc LICENSE = "BSD-3-Clause" · line 6
Quoted 5 lines
recipes-ti/ipc/ipc-transport-qmss.inc +1
-1@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1"
PR should be specified in the recipe file.
Quoted 10 lines
recipes-ti/ipc/ipc-transport-qmss.inc +2
-0+ +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" COMPATIBLE_MACHINE = "keystone"recipes-ti/ipc/ipc-transport-srio.inc +0
-0
recipes-ti/ipc/ipc-transport-srio.inc LICENSE = "BSD-3-Clause" · line 8
Quoted 7 lines
recipes-ti/ipc/ipc-transport-srio.inc +3
-1@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"
Why not keep this in the original location? This appears to be duplicated in these intermediate .inc files.
recipes-ti/ipc/ipc-transport.inc line 3
Quoted 12 lines
recipes-ti/ipc/ipc-transport-srio.inc +0
-0COMPATIBLE_MACHINE = "k2hk-evm"recipes-ti/ipc/ipc-transport.inc +3
-1@@ -1,15 +1,17 @@ -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" +LICENSE = "BSD-3-Clause" + +PACKAGE_ARCH = "${MACHINE_ARCH}"
What makes these .inc file machine-specific?
Quoted 19 lines
recipes-ti/ipc/ipc-transport.inc +5
-5IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git" -IPC_TRANSPORT_GIT_BRANCH = "master" IPC_TRANSPORT_GIT_PROTOCOL = "git" +IPC_TRANSPORT_GIT_BRANCH = "master" -# Below commit ID corresponds to DEV.IPC-TRANSPORT.02.00.00.01 +# Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.01" IPC_TRANSPORT_SRCREV = "88ea336c584ccec4b2c281cd7f75df9dff6d4edf" -BRANCH="${IPC_TRANSPORT_GIT_BRANCH}" +BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}" SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}" + SRCREV = "${IPC_TRANSPORT_SRCREV}" PV = "02.00.00.01" - -INC_PR = "r1" +INC_PR = "r2"
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, April 20, 2016 3:00 PM
To: Sobota, Justin; [email protected]
Subject: Re: [meta-ti] [master/fido][PATCH 1/2] ipc-transport: Clean up recipe
Quoted 13 lines · Justin Sobota
Signed-off-by Justin Sobota <[email protected]>--- recipes-ti/ipc/ipc-transport-qmss.inc | 4 +++- recipes-ti/ipc/ipc-transport-srio.inc | 4 +++- recipes-ti/ipc/ipc-transport.inc | 14 ++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-)recipes-ti/ipc/ipc-transport-qmss.inc +0
-0
recipes-ti/ipc/ipc-transport-qmss.inc LICENSE = "BSD-3-Clause" · line 6
Quoted 5 lines
recipes-ti/ipc/ipc-transport-qmss.inc +1
-1@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1"
PR should be specified in the recipe file.
[JS] I'll revert this change and bump to ".1"
Quoted 11 lines
recipes-ti/ipc/ipc-transport-qmss.inc +2
-0+ +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" COMPATIBLE_MACHINE = "keystone"recipes-ti/ipc/ipc-transport-srio.inc +0
-0
recipes-ti/ipc/ipc-transport-srio.inc LICENSE = "BSD-3-Clause" · line 8
Quoted 7 lines
recipes-ti/ipc/ipc-transport-srio.inc +3
-1@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"
Why not keep this in the original location? This appears to be duplicated in these intermediate .inc files.
[JS] checksum against COPYING.txt only applies to Linux recipes. RTOS recipe checksum is calculated against RTOS-specific files. Two options: In current patch, move checksum calculation out of top-level include into individual Linux/RTOS recipes OR keep checksum against COPYING.txt in top level include and override it in RTOS recipes. Which do you prefer?
recipes-ti/ipc/ipc-transport.inc line 3
Quoted 13 lines
recipes-ti/ipc/ipc-transport-srio.inc +0
-0COMPATIBLE_MACHINE = "k2hk-evm"recipes-ti/ipc/ipc-transport.inc +3
-1@@ -1,15 +1,17 @@ -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" +LICENSE = "BSD-3-Clause" + +PACKAGE_ARCH = "${MACHINE_ARCH}"
What makes these .inc file machine-specific?
[JS] I'll back this out. Doesn't make sense being here.
Quoted 19 lines
recipes-ti/ipc/ipc-transport.inc +5
-5IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git" -IPC_TRANSPORT_GIT_BRANCH = "master" IPC_TRANSPORT_GIT_PROTOCOL = "git" +IPC_TRANSPORT_GIT_BRANCH = "master" -# Below commit ID corresponds to DEV.IPC-TRANSPORT.02.00.00.01 +# Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.01" IPC_TRANSPORT_SRCREV = "88ea336c584ccec4b2c281cd7f75df9dff6d4edf" -BRANCH="${IPC_TRANSPORT_GIT_BRANCH}" +BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}" SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}" + SRCREV = "${IPC_TRANSPORT_SRCREV}" PV = "02.00.00.01" - -INC_PR = "r1" +INC_PR = "r2"
Quoted 55 lines · Justin
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, April 20, 2016 3:00 PM
To: Sobota, Justin; [email protected]
Subject: Re: [meta-ti] [master/fido][PATCH 1/2] ipc-transport: Clean up recipeQuoted 13 lines · Justin Sobota
Signed-off-by Justin Sobota <[email protected]>--- recipes-ti/ipc/ipc-transport-qmss.inc | 4 +++- recipes-ti/ipc/ipc-transport-srio.inc | 4 +++- recipes-ti/ipc/ipc-transport.inc | 14 ++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-)recipes-ti/ipc/ipc-transport-qmss.inc +0
-0recipes-ti/ipc/ipc-transport-qmss.inc LICENSE = "BSD-3-Clause" · line 6
Quoted 5 lines
recipes-ti/ipc/ipc-transport-qmss.inc +1
-1@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1"PR should be specified in the recipe file.
[JS] I'll revert this change and bump to ".1"
Quoted 11 lines
recipes-ti/ipc/ipc-transport-qmss.inc +2
-0+ +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" COMPATIBLE_MACHINE = "keystone"recipes-ti/ipc/ipc-transport-srio.inc +0
-0recipes-ti/ipc/ipc-transport-srio.inc LICENSE = "BSD-3-Clause" · line 8
Quoted 7 lines
recipes-ti/ipc/ipc-transport-srio.inc +3
-1@@ -3,7 +3,9 @@ LICENSE = "BSD-3-Clause" require ipc-transport.inc -INC_PR_append = ".0" +PR = "${INC_PR}.1" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"Why not keep this in the original location? This appears to be duplicated in these intermediate .inc files.
Quoted 5 lines
[JS] checksum against COPYING.txt only applies to Linux recipes. RTOS recipe checksum is calculated against RTOS-specific files. Two options: In current patch, move checksum calculation out of top-level include into individual Linux/RTOS recipes OR keep checksum against COPYING.txt in top level include and override it in RTOS recipes. Which do you prefer?
Separate LIC_FILES_CHKSUM in .bb recipes is preferred if cannot be shared in .inc
Quoted 42 lines
recipes-ti/ipc/ipc-transport.inc line 3
Quoted 12 lines
recipes-ti/ipc/ipc-transport-srio.inc +0
-0COMPATIBLE_MACHINE = "k2hk-evm"recipes-ti/ipc/ipc-transport.inc +3
-1@@ -1,15 +1,17 @@ -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" +LICENSE = "BSD-3-Clause" + +PACKAGE_ARCH = "${MACHINE_ARCH}"What makes these .inc file machine-specific?
[JS] I'll back this out. Doesn't make sense being here.
Quoted 19 lines
recipes-ti/ipc/ipc-transport.inc +5
-5IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git" -IPC_TRANSPORT_GIT_BRANCH = "master" IPC_TRANSPORT_GIT_PROTOCOL = "git" +IPC_TRANSPORT_GIT_BRANCH = "master" -# Below commit ID corresponds to DEV.IPC-TRANSPORT.02.00.00.01 +# Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.01" IPC_TRANSPORT_SRCREV = "88ea336c584ccec4b2c281cd7f75df9dff6d4edf" -BRANCH="${IPC_TRANSPORT_GIT_BRANCH}" +BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}" SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}" + SRCREV = "${IPC_TRANSPORT_SRCREV}" PV = "02.00.00.01" - -INC_PR = "r1" +INC_PR = "r2"Signature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti