[meta-freescale] [meta-fsl-arm][PATCH v3 2/6] u-boot-ls1: Add recipe for Layerscape1 support

Otavio Salvador otavio at ossystems.com.br
Wed Sep 3 14:19:04 PDT 2014


On Wed, Sep 3, 2014 at 5:42 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> * u-boot-ls1-tools-native: provides the tcl script for endian swap
> * u-boot-ls1: the u-boot recipes for ls1021aqds and ls1021atwr support
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> ---
>  .../u-boot/u-boot-ls1-tools-native_2013.10.bb      | 12 +++++++++++
>  recipes-bsp/u-boot/u-boot-ls1.inc                  | 14 +++++++++++++
>  recipes-bsp/u-boot/u-boot-ls1_2013.10.bb           | 24 ++++++++++++++++++++++
>  3 files changed, 50 insertions(+)
>  create mode 100644 recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb
>  create mode 100644 recipes-bsp/u-boot/u-boot-ls1.inc
>  create mode 100644 recipes-bsp/u-boot/u-boot-ls1_2013.10.bb
>
> diff --git a/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb b/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb
> new file mode 100644
> index 0000000..2a4994a
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb
> @@ -0,0 +1,12 @@
> +require u-boot-ls1.inc
> +
> +inherit native
> +
> +do_compile () {
> +}

You can use:

do_configure[noexec] = "1"
do_compile[noexec] = "1"

> +do_install () {
> +    install -d ${D}/${bindir}
> +    install -m 755 ${S}/byte_swap.tcl ${D}/${bindir}
> +}

I think you need tcl as runtime dependency, no?

-- 
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