All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 1/2] dfe-lld: Add recipe for Digital Radio Front end low level driver & test code
Date: Tue, 10 Feb 2015 15:15:53 -0500	[thread overview]
Message-ID: <20150210201552.GL13231@edge> (raw)
In-Reply-To: <1422892524-4436-1-git-send-email-sam.nelson@ti.com>

Two comments, although not very critical:

1. dfe-lld-test defpends on iqn2-lld, which gets added in the second patch. I 
understand that iqn2-lld depends on dfe-lld, so the proper way to break it 
into patches and ensure bisectability, is to submit dfe-lld-test recipe 
separately as a third patch after dfe-lld and iqn2-lld/test.

2. Since you are only building for k2l, do you want to set a more stricter 
COMPATIBLE_MACHINE as "k2l-evm"?

-- 
Denys


On Mon, Feb 02, 2015 at 10:55:23AM -0500, Sam Nelson wrote:
> - Provides low level driver for Digital Radio front end
> - Supports device k2l
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  recipes-bsp/dfe-lld/dfe-lld-test_git.bb |   18 ++++++++++++++++++
>  recipes-bsp/dfe-lld/dfe-lld.inc         |   13 +++++++++++++
>  recipes-bsp/dfe-lld/dfe-lld_git.bb      |   15 +++++++++++++++
>  3 files changed, 46 insertions(+)
>  create mode 100644 recipes-bsp/dfe-lld/dfe-lld-test_git.bb
>  create mode 100644 recipes-bsp/dfe-lld/dfe-lld.inc
>  create mode 100644 recipes-bsp/dfe-lld/dfe-lld_git.bb
> 
> diff --git a/recipes-bsp/dfe-lld/dfe-lld-test_git.bb b/recipes-bsp/dfe-lld/dfe-lld-test_git.bb
> new file mode 100644
> index 0000000..acaaf63
> --- /dev/null
> +++ b/recipes-bsp/dfe-lld/dfe-lld-test_git.bb
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "TI Digital Radio Front End lld test application"
> +
> +DEPENDS = "common-csl-ip dfe-lld iqn2-lld"
> +
> +include dfe-lld.inc
> +
> +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}"
> +
> +do_compile () {
> +#   Now build the lld in the updated directory
> +	oe_runmake clean DEVICE=k2l
> +	oe_runmake tests DEVICE=k2l
> +	oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes
> +}
> +
> +do_install () {
> +	oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir}
> +}
> diff --git a/recipes-bsp/dfe-lld/dfe-lld.inc b/recipes-bsp/dfe-lld/dfe-lld.inc
> new file mode 100644
> index 0000000..b1e42e7
> --- /dev/null
> +++ b/recipes-bsp/dfe-lld/dfe-lld.inc
> @@ -0,0 +1,13 @@
> +LICENSE = "BSD-3-Clause"
> +
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
> +BRANCH = "master"
> +SRC_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git;destsuffix=git/ti/drv/dfe;protocol=git;branch=${BRANCH}"
> +# The following commit correspond to DEV.DFE_LLD.01.00.00.03C
> +SRCREV = "ed20e87d3676e3e05ce2b78179b504a05083ad15"
> +
> +PV = "1.0.0.3"
> +
> +COMPATIBLE_MACHINE = "keystone"
> +
> +S = "${WORKDIR}/git/ti/drv/dfe"
> diff --git a/recipes-bsp/dfe-lld/dfe-lld_git.bb b/recipes-bsp/dfe-lld/dfe-lld_git.bb
> new file mode 100644
> index 0000000..a2477ca
> --- /dev/null
> +++ b/recipes-bsp/dfe-lld/dfe-lld_git.bb
> @@ -0,0 +1,15 @@
> +DESCRIPTION = "Digital Radio Front End low level driver"
> +
> +DEPENDS = "common-csl-ip"
> +
> +include dfe-lld.inc
> +
> +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
> +
> +do_compile () {
> +	oe_runmake lib DEVICE=k2l
> +}
> +
> +do_install () {
> +	oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
> +}
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


      parent reply	other threads:[~2015-02-10 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02 15:55 [PATCH 1/2] dfe-lld: Add recipe for Digital Radio Front end low level driver & test code Sam Nelson
2015-02-02 15:55 ` [PATCH 2/2] iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver Sam Nelson
2015-02-10 20:15 ` Denys Dmytriyenko [this message]

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=20150210201552.GL13231@edge \
    --to=denys@ti.com \
    --cc=meta-ti@yoctoproject.org \
    --cc=sam.nelson@ti.com \
    /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.