Hi Denys,
Please find my reply inline.
Attached is the new patch with the changes
Regards
Mahesh
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, August 24, 2017 4:13 PM
To: Radhakrishnan, Mahesh
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2 36/37] cmb-addon-rtos: Adding CMB rtos recipe
On Tue, Jul 18, 2017 at 07:03:47PM -0400, Mahesh Radhakrishnan wrote:
> Upstreaming the recipe for Circular Microphone array board (CMB) RTOS
> software
> Signed-off-by: Mahesh Radhakrishnan
> <[email protected]<mailto:[email protected]>>
> ---
>
> v2 - Added summary
>
> recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb | 62
> +++++++++++++++++++++++++++++
> 1 file changed, 62 insertions(+)
> create mode 100644 recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
>
> diff --git a/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
> b/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
> new file mode 100644
> index 0000000..0ff8bba
> --- /dev/null
> +++ b/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
> @@ -0,0 +1,62 @@
> +SUMMARY = "TI RTOS software supporting circular microphone array board"
> +require recipes-ti/includes/ti-paths.inc
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM =
> "file://cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0<file:///\\cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0>"
> +
> +COMPATIBLE_MACHINE = "k2g|omapl137-evm"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +CMB_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/circmicarray-addon.git"
> +CMB_ADDON_GIT_PROTOCOL = "git"
> +CMB_ADDON_GIT_BRANCH = "master"
> +CMB_ADDON_GIT_DESTSUFFIX = "git/ti/addon"
> +
> +# Below commit ID corresponds to "DEV.CMB.01.01.00.00"
> +CMB_ADDON_SRCREV = "29c05572b82251bac73cd685afcffdb8549eaaaf"
> +
> +SRCREV = "${CMB_ADDON_SRCREV}"
> +PV = "01.01.00.00"
> +PR = "r0"
> +
> +BRANCH = "${CMB_ADDON_GIT_BRANCH}"
> +SRC_URI =
> "${CMB_ADDON_GIT_URI};destsuffix=${CMB_ADDON_GIT_DESTSUFFIX};protocol=${CMB_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
> +
> +
> +S = "${WORKDIR}/git/ti/addon/cmb"
> +
> +DEPENDS = " ti-cgt6x-native \
> + ti-sysbios \
> + ti-xdctools \
> + ti-pdk-build-rtos \
> + common-csl-ip-rtos \
> + gpio-lld-rtos \
> + i2c-lld-rtos \
> + mcasp-lld-rtos \
> + board-rtos \
Blocked by board-rtos
Board-rtos' dependent packages have been submitted now, it should unblock
board.
> +"
> +
> +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
> +export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
> +export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
> +export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
> +
> +export XDCPATH =
> "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
> +
> +export PDK_CMB_ROOT_PATH = "${WORKDIR}/git"
> +
> +do_compile() {
> + cd ${S}
Not needed ^
It has been removed now as ti-pdk bbclass is being used
> + make release LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}"
> LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}"
> +}
> +
> +do_install() {
> + cd ${S}
Not needed ^
It has been removed now as ti-pdk bbclass is being used
> + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/addon/cmb
> + find -name "*.tar" -exec tar xf {} -C
> + ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ \;
Is this needed?
It has been removed now as ti-pdk bbclass is being used
> +}
> +
> +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> [email protected]<mailto:[email protected]>
> https://lists.yoctoproject.org/listinfo/meta-ti
--- Begin Message ---
Circular Microphone array board (CMB) RTOS software
Signed-off-by: Mahesh Radhakrishnan <[email protected]>
---
v4 - Modified the recipe to ti-pdk.bbclass
v3 - Removed redundant code in do_compile & do_install
v2 - Added summary
recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb | 41 +++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
diff --git a/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
b/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
new file mode 100644
index 0000000..4d69863
--- /dev/null
+++ b/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
@@ -0,0 +1,41 @@
+SUMMARY = "TI RTOS software supporting circular microphone array board"
+require recipes-ti/includes/ti-paths.inc
+inherit ti-pdk
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM =
"file://cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0"
+
+COMPATIBLE_MACHINE = "k2g|omapl137-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+CMB_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/circmicarray-addon.git"
+CMB_ADDON_GIT_PROTOCOL = "git"
+CMB_ADDON_GIT_BRANCH = "master"
+CMB_ADDON_GIT_DESTSUFFIX = "git/ti/addon"
+
+# Below commit ID corresponds to "DEV.CMB.01.01.00.00"
+CMB_ADDON_SRCREV = "29c05572b82251bac73cd685afcffdb8549eaaaf"
+
+SRCREV = "${CMB_ADDON_SRCREV}"
+PV = "01.01.00.00"
+PR = "r0"
+
+BRANCH = "${CMB_ADDON_GIT_BRANCH}"
+SRC_URI =
"${CMB_ADDON_GIT_URI};destsuffix=${CMB_ADDON_GIT_DESTSUFFIX};protocol=${CMB_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
+
+
+S = "${WORKDIR}/git/ti/addon/cmb"
+
+DEPENDS_append = " ti-sysbios \
+ gpio-lld-rtos \
+ i2c-lld-rtos \
+ mcasp-lld-rtos \
+ board-rtos \
+"
+
+export PDK_CMB_ROOT_PATH = "${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
--
1.9.1
--- End Message ---
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti