]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc: Use the new fsl-u-boot-localversion class
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 1 Sep 2014 14:20:33 +0000 (11:20 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 1 Sep 2014 15:18:36 +0000 (12:18 -0300)
This uses the new class for LOCALVERSION handling. The local version
is set for '+fslc' by default but can be overriden by users of this
.inc file.

Change-Id: Ic6089ffad89648ec5f3d2f8247e33fd5dd0e7fea
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb
meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc

index 0ac58611f62f1339b7d54cb8d4ffe2f3e2a37386..8ea75cac534fbc7fbfc762485fcfa40e18e89d21 100644 (file)
@@ -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 () {
index 4ed19d6492124d021fd0e91bdd8c726f350970c8..a1e4de8471b2f3d5494442999b6940b151763870 100644 (file)
@@ -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}"
-