[meta-freescale] [meta-fsl-arm][PATCH 4/5] u-boot-fslc: Use the new fsl-u-boot-localversion class
Otavio Salvador
otavio at ossystems.com.br
Sun Aug 31 15:32:56 PDT 2014
Change-Id: Ic6089ffad89648ec5f3d2f8247e33fd5dd0e7fea
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb | 2 ++
recipes-bsp/u-boot/u-boot-fslc.inc | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb
index 3a1c6e4..b009068 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb
@@ -13,6 +13,8 @@ SRC_URI = "git://github.com/Freescale/u-boot-imx.git;branch=${SRCBRANCH}"
S = "${WORKDIR}/git"
+inherit fsl-u-boot-localversion
+
EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y'
do_compile () {
diff --git a/recipes-bsp/u-boot/u-boot-fslc.inc b/recipes-bsp/u-boot/u-boot-fslc.inc
index 4ed19d6..a1e4de8 100644
--- a/recipes-bsp/u-boot/u-boot-fslc.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc.inc
@@ -3,6 +3,8 @@
require recipes-bsp/u-boot/u-boot.inc
+inherit fsl-u-boot-localversion
+
DESCRIPTION = "U-boot bootloader for Freescale ARM platforms"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
@@ -26,4 +28,3 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
HOSTSTRIP=true'
PACKAGE_ARCH = "${MACHINE_ARCH}"
-
--
1.7.10.4
More information about the meta-freescale
mailing list