[meta-freescale] [meta-fsl-arm][PATCH ] apptrk: add recipes for Layerscape1 support

Otavio Salvador otavio at ossystems.com.br
Fri Dec 19 06:08:24 PST 2014


On Fri, Dec 19, 2014 at 7:09 AM,  <b40290 at freescale.com> wrote:
> From: Chunrong Guo <B40290 at freescale.com>
>
>    Userspace debug agent for PA CodeWarrior
>
> Signed-off-by: Chunrong Guo <B40290 at freescale.com>
> ---
>  recipes-bsp/apptrk/apptrk_git.bb | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 recipes-bsp/apptrk/apptrk_git.bb
>
> diff --git a/recipes-bsp/apptrk/apptrk_git.bb b/recipes-bsp/apptrk/apptrk_git.bb
> new file mode 100644
> index 0000000..b02e663
> --- /dev/null
> +++ b/recipes-bsp/apptrk/apptrk_git.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "Userspace debug agent for ARM CodeWarrior"
> +SECTION = "apptrk"
> +LICENSE = "Freescale-EULA"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=95560debfde180684364319811cc1421"
> +
> +DEPENDS = "elfutils"
> +
> +SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;nobranch=1"
> +SRCREV = "cbed10997c5e2a4aaa004fb0e1efec858bf1bbe1"

S goes here.

> +EXTRA_OEMAKE='ARCH=arm'

Same question about kernel-arch class.

> +S = "${WORKDIR}/git"

Move S above.

> +CFLAGS += " -I${STAGING_INCDIR} -ISource/Linux -ISource/Portable \
> +                 -ISource/Linux_ARM -ISource/ARM \
> +"
> +
> +do_install() {
> +        install -d ${D}/usr/bin

Couldn't this be fixed in the Makefile? It seems more robust.

> +        oe_runmake install DESTDIR=${D}
> +}
> --
> 1.9.2
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list