diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2014-09-01 11:20:34 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-09-01 12:18:36 -0300 |
| commit | 21eab88a14d84801fcd532e20130ad7fec07b4a7 (patch) | |
| tree | 9d4df5c28a912a9c635dd284634e05a22e2f7004 | |
| parent | 4748ed0ada4238ccfee310fa0f9c3007d01892a9 (diff) | |
| download | meta-freescale-21eab88a14d84801fcd532e20130ad7fec07b4a7.tar.gz | |
u-boot-imx: Use the new fsl-u-boot-localversion class
This uses the new class for LOCALVERSION handling. The local version
is set for '+imx' by default but can be overriden by users of this
.inc file.
While on that move the PACKAGE_ARCH setting, in the 2009.08 recipe, to
the end of file, as done on other recipes.
Change-Id: Ic7e26635908cefe28c340cd9885e1efa0a009a16
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb | 5 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2013.04.bb | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb index 393e7f329..7b31cc8c6 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb | |||
| @@ -54,7 +54,9 @@ UBOOT_MAKE_TARGET = "u-boot.bin" | |||
| 54 | S = "${WORKDIR}/git" | 54 | S = "${WORKDIR}/git" |
| 55 | EXTRA_OEMAKE += 'HOSTSTRIP=true' | 55 | EXTRA_OEMAKE += 'HOSTSTRIP=true' |
| 56 | 56 | ||
| 57 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 57 | inherit fsl-u-boot-localversion |
| 58 | |||
| 59 | LOCALVERSION = "+imx" | ||
| 58 | 60 | ||
| 59 | do_compile_prepend() { | 61 | do_compile_prepend() { |
| 60 | if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then | 62 | if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then |
| @@ -63,3 +65,4 @@ do_compile_prepend() { | |||
| 63 | } | 65 | } |
| 64 | 66 | ||
| 65 | COMPATIBLE_MACHINE = "(imx28evk|mx5|mx6)" | 67 | COMPATIBLE_MACHINE = "(imx28evk|mx5|mx6)" |
| 68 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2013.04.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2013.04.bb index 1c0f828e1..867f0edde 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2013.04.bb +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2013.04.bb | |||
| @@ -14,5 +14,9 @@ SRCREV = "ce0ea2507c492d43bbf88f8609482a171b2d2003" | |||
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
| 17 | inherit fsl-u-boot-localversion | ||
| 18 | |||
| 19 | LOCALVERSION = "+imx" | ||
| 20 | |||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 21 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 18 | COMPATIBLE_MACHINE = "(mx6)" | 22 | COMPATIBLE_MACHINE = "(mx6)" |
