[meta-freescale] [meta-fsl-arm][PATCH v2 5/5] u-boot-imx: Use the new fsl-u-boot-localversion class
Daiane Angolini
daiane.list at gmail.com
Mon Sep 1 06:43:48 PDT 2014
On Mon, Sep 1, 2014 at 9:23 AM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> Change-Id: Ic7e26635908cefe28c340cd9885e1efa0a009a16
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> recipes-bsp/u-boot/u-boot-imx_2009.08.bb | 5 ++++-
> recipes-bsp/u-boot/u-boot-imx_2013.04.bb | 4 ++++
> 2 files changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-bsp/u-boot/u-boot-imx_2009.08.bb b/recipes-bsp/u-boot/u-boot-imx_2009.08.bb
> index 393e7f3..7b31cc8 100644
> --- a/recipes-bsp/u-boot/u-boot-imx_2009.08.bb
> +++ b/recipes-bsp/u-boot/u-boot-imx_2009.08.bb
> @@ -54,7 +54,9 @@ UBOOT_MAKE_TARGET = "u-boot.bin"
> S = "${WORKDIR}/git"
> EXTRA_OEMAKE += 'HOSTSTRIP=true'
>
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
Why are you removing PACKAGE_ARCH from here?
Daiane
> +inherit fsl-u-boot-localversion
> +
> +LOCALVERSION = "+imx"
>
> do_compile_prepend() {
> if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then
> @@ -63,3 +65,4 @@ do_compile_prepend() {
> }
>
> COMPATIBLE_MACHINE = "(imx28evk|mx5|mx6)"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> diff --git a/recipes-bsp/u-boot/u-boot-imx_2013.04.bb b/recipes-bsp/u-boot/u-boot-imx_2013.04.bb
> index 1c0f828..867f0ed 100644
> --- a/recipes-bsp/u-boot/u-boot-imx_2013.04.bb
> +++ b/recipes-bsp/u-boot/u-boot-imx_2013.04.bb
> @@ -14,5 +14,9 @@ SRCREV = "ce0ea2507c492d43bbf88f8609482a171b2d2003"
>
> S = "${WORKDIR}/git"
>
> +inherit fsl-u-boot-localversion
> +
> +LOCALVERSION = "+imx"
> +
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> COMPATIBLE_MACHINE = "(mx6)"
> --
> 1.7.10.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
More information about the meta-freescale
mailing list