From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package.
Date: Fri, 29 May 2015 16:15:15 -0400 [thread overview]
Message-ID: <20150529201515.GI16418@edge> (raw)
In-Reply-To: <1432743617-24000-4-git-send-email-j-stiffler@ti.com>
Ack
Same 2 questions:
are all deps are ready?
want to change packaging to ${PN}-dev?
On Wed, May 27, 2015 at 12:20:17PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 75 +++++++++++++++++++++++++++
> 1 file changed, 75 insertions(+)
> create mode 100644 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
>
> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> new file mode 100644
> index 0000000..246d7a8
> --- /dev/null
> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> @@ -0,0 +1,75 @@
> +require edma3-lld.inc
> +require recipes-ti/includes/ti-paths.inc
> +require recipes-ti/includes/ti-staging.inc
> +
> +PR = "r0"
> +
> +DEPENDS = "ti-cgt6x-native ti-sysbios ti-xdctools"
> +
> +COMPATIBLE_MACHINE = "dra7xx|keystone"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +PLATFORMLIST = ""
> +PLATFORMLIST_keystone = " \
> + tci6636k2h-evm \
> + tci6638k2k-evm \
> + tci6630k2l-evm \
> + c66ak2e-evm \
> +"
> +
> +PLATFORMLIST_dra7xx = " \
> + tda2xx-evm \
> + dra72x-evm \
> + am571x-evm \
> + am572x-evm \
> +"
> +
> +S = "${WORKDIR}/git"
> +
> +PARALLEL_MAKE = ""
> +
> +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
> +export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
> +export CGTOOLS = "${XDCCGROOT}"
> +export CGTOOLS_ELF = "${XDCCGROOT}"
> +export CODEGEN_PATH_DSP = "${XDCCGROOT}"
> +export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
> +export TMS470_CGTOOLS = "${XDCCGROOT}"
> +export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
> +export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
> +export PATH := "${XDC_INSTALL_DIR}:${PATH}"
> +export ROOTDIR="${S}"
> +export INTERNAL_SW_ROOT="${S}"
> +export CROSSCC="${TARGET_PREFIX}gcc"
> +export CROSSAR="${TARGET_PREFIX}ar"
> +export CROSSLNK="${TARGET_PREFIX}gcc"
> +
> +
> +EXTRA_OEMAKE += " -C ${S}/packages TARGET=66 FORMAT=ELF"
> +
> +do_configure () {
> + sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
> + sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
> + sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
> + sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
> + sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
> +
> + cd ${S}/packages
> + ${XDC_INSTALL_DIR}/xdc .interfaces -PR .
> +}
> +
> +do_compile () {
> + for p in ${PLATFORMLIST}
> + do
> + oe_runmake PLATFORM=${p}
> + done
> +}
> +
> +do_install () {
> + install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
> + cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
> +}
> +
> +INSANE_SKIP_${PN} = "arch"
> +
> +FILES_${PN} += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2015-05-29 20:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 16:20 [PATCH 0/3] Add EDMA3 LLD RTOS package Jacob Stiffler
2015-05-27 16:20 ` [PATCH 1/3] edma3-lld: Seperate source and version into include file Jacob Stiffler
2015-05-29 20:12 ` Denys Dmytriyenko
2015-05-27 16:20 ` [PATCH 2/3] edma3-lld: Update to version 2.12.01.21 Jacob Stiffler
2015-05-29 20:12 ` Denys Dmytriyenko
2015-05-27 16:20 ` [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package Jacob Stiffler
2015-05-29 20:15 ` Denys Dmytriyenko [this message]
2015-06-01 12:54 ` Jacob Stiffler
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=20150529201515.GI16418@edge \
--to=denys@ti.com \
--cc=j-stiffler@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.