diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2014-09-01 11:20:33 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-09-01 12:18:36 -0300 |
| commit | 4748ed0ada4238ccfee310fa0f9c3007d01892a9 (patch) | |
| tree | d5ad5721c65c922440be7aaab66887ef7e7b38bd | |
| parent | e3528efab77046e6e3841f79d29022b0855be46b (diff) | |
| download | meta-freescale-4748ed0ada4238ccfee310fa0f9c3007d01892a9.tar.gz | |
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 <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2014.07.bb | 2 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc | 3 |
2 files changed, 4 insertions, 1 deletions
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 0ac58611f..8ea75cac5 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}" | |||
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | 15 | ||
| 16 | inherit fsl-u-boot-localversion | ||
| 17 | |||
| 16 | EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y' | 18 | EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y' |
| 17 | 19 | ||
| 18 | do_compile () { | 20 | 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 4ed19d649..a1e4de847 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 @@ | |||
| 3 | 3 | ||
| 4 | require recipes-bsp/u-boot/u-boot.inc | 4 | require recipes-bsp/u-boot/u-boot.inc |
| 5 | 5 | ||
| 6 | inherit fsl-u-boot-localversion | ||
| 7 | |||
| 6 | DESCRIPTION = "U-boot bootloader for Freescale ARM platforms" | 8 | DESCRIPTION = "U-boot bootloader for Freescale ARM platforms" |
| 7 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
| 8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb" | 10 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb" |
| @@ -26,4 +28,3 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ | |||
| 26 | HOSTSTRIP=true' | 28 | HOSTSTRIP=true' |
| 27 | 29 | ||
| 28 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 30 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 29 | |||
