From: Otavio Salvador Date: Mon, 1 Sep 2014 14:20:33 +0000 (-0300) Subject: u-boot-fslc: Use the new fsl-u-boot-localversion class X-Git-Tag: 2.1~858 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4748ed0ada4238ccfee310fa0f9c3007d01892a9;p=meta-freescale.git u-boot-fslc: Use the new fsl-u-boot-localversion class 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 --- diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb index 0ac58611..8ea75cac 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb +++ b/meta-fsl-arm/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/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc index 4ed19d64..a1e4de84 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc +++ b/meta-fsl-arm/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}" -