From: Denys Dmytriyenko <denys@ti.com>
To: Ivan Pang <i-pang@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH v2 3/4] mad-utils-rtos: added recipe for MAD utils
Date: Thu, 27 Jul 2017 16:19:45 -0400 [thread overview]
Message-ID: <20170727201944.GJ18367@edge> (raw)
In-Reply-To: <1501016801-28357-3-git-send-email-i-pang@ti.com>
On Tue, Jul 25, 2017 at 04:06:40PM -0500, Ivan Pang wrote:
> This recipe adds the Multicore Application Deployment (MAD) utility
> for c665x-evm and c667x-evm.
>
> Signed-off-by: Ivan Pang <i-pang@ti.com>
> ---
> recipes-bsp/mad-utils/mad-utils-rtos_git.bb | 50 +++++++++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
> create mode 100644 recipes-bsp/mad-utils/mad-utils-rtos_git.bb
>
> diff --git a/recipes-bsp/mad-utils/mad-utils-rtos_git.bb b/recipes-bsp/mad-utils/mad-utils-rtos_git.bb
> new file mode 100644
> index 0000000..50045ce
> --- /dev/null
> +++ b/recipes-bsp/mad-utils/mad-utils-rtos_git.bb
> @@ -0,0 +1,50 @@
Missing SUMMARY/DESCRIPTION
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb"
> +
> +require recipes-ti/includes/ti-paths.inc
> +
> +DEPENDS = "ti-cgt6x-7-native"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +COMPATIBLE_MACHINE = "c66x"
> +
> +BRANCH = "master"
> +SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}"
> +SRCREV = "2458510f76eddfa837c2b83448965e233156944b"
> +PR = "r0"
> +
> +S = "${WORKDIR}/git"
> +
> +export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
> +PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
> +
> +DEVICE = ""
> +DEVICE_c665x-evm = "C6657"
> +DEVICE_c667x-evm = "C6678"
> +
> +ENDIAN = ""
> +ENDIAN_c665x-evm = "little big"
> +ENDIAN_c667x-evm = "little big"
> +
> +do_compile() {
> + cd mad-loader
> + for e in ${ENDIAN}
> + do
> + mkdir -p bin/${DEVICE}/${e}
> + make -C mal/malLib/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
> + make -C mal/malApp/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
> + cp mal/malApp/build/mal_app.exe bin/${DEVICE}/${e}
> + make -C nmlLoader/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
> + cp nmlLoader/build/nml.exe bin/${DEVICE}/${e}
> + done
> + cd -
> +}
> +
> +do_install() {
> + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
> + cp -r * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
Same comment about host contamination warning due to preserved ownership of
files.
> +}
> +
> +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils"
> +
> +INSANE_SKIP_${PN} += "arch staticdev ldflags file-rdeps"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2017-07-27 20:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 21:06 [PATCH v2 1/4] ti-paths.inc: added path for TI CGT6x 7.x.x Ivan Pang
2017-07-25 21:06 ` [PATCH v2 2/4] ti-cgt6x-7: added recipe " Ivan Pang
2017-07-27 13:17 ` Jacob Stiffler
2017-07-27 20:16 ` Denys Dmytriyenko
2017-07-27 23:24 ` Denys Dmytriyenko
2017-07-25 21:06 ` [PATCH v2 3/4] mad-utils-rtos: added recipe for MAD utils Ivan Pang
2017-07-27 13:19 ` Jacob Stiffler
2017-07-27 20:19 ` Denys Dmytriyenko [this message]
2017-07-25 21:06 ` [PATCH v2 4/4] ibl-boot-rtos: added recipe for RTOS IBL Ivan Pang
2017-07-27 13:19 ` Jacob Stiffler
2017-07-27 20:20 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170727201944.GJ18367@edge \
--to=denys@ti.com \
--cc=i-pang@ti.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.