From 3e451e6c086349e5818cef84e0e68e7d1468f2d7 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Tue, 27 Nov 2012 18:05:53 +0100 Subject: [PATCH] meta-fsl-arm: Use meta-fsl-arm uboot-imx recipe. Add a bbappend file to customize. Signed-off-by: Alex Gonzalez --- .../recipes-bsp/u-boot/u-boot-digi_2009.08.bb | 48 ------------------- .../u-boot/u-boot-imx_2009.08.bbappend | 15 ++++++ 2 files changed, 15 insertions(+), 48 deletions(-) delete mode 100644 meta-digi-arm/recipes-bsp/u-boot/u-boot-digi_2009.08.bb create mode 100644 meta-digi-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-digi_2009.08.bb b/meta-digi-arm/recipes-bsp/u-boot/u-boot-digi_2009.08.bb deleted file mode 100644 index 11908c135..000000000 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-digi_2009.08.bb +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2011 Freescale Semiconductor -# Copyright (C) 2012 Digi International -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "bootloader for Digi platforms" -require recipes-bsp/u-boot/u-boot.inc - -PROVIDES += "u-boot" - -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b" - -DEPENDS_mxs += "elftosb-native" - -PR = "r8" - -# Revision for MX28 based platforms. -SRCREV_mxs = "DUB-4.1.2" - -# Revision for MX51 and MX53 platforms -# [DIGI] This is currently the agonzal/yocto branch -# [DIGI] until DIGI-UBOOT-93 is fixed. -SRCREV_mx5 = "f684e0259c4a9f63476a3694d9f0f5a6d21b1943" - -SRC_URI = "git://log-sln-cvs.digi.com/data/vcs/git/u-boot-denx.git" - -UBOOT_MACHINE_ccxmx53js = "ccxmx53js_config" -UBOOT_MACHINE_ccxmx51js = "ccxmx51js_config" -UBOOT_MACHINE_ccardxmx28js = "ccardxmx28js_config" - -UBOOT_MAKE_TARGET = "u-boot.bin" -UBOOT_SUFFIX = "bin" -UBOOT_PADDING = "2" - -S = "${WORKDIR}/git" -EXTRA_OEMAKE += 'HOSTSTRIP=true' - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -# [DIGI] GNU gold linker is an alternative to GNU linker. -do_compile_prepend() { - if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then - sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' config.mk - fi -} - -COMPATIBLE_MACHINE = "(mxs|mx5)" - diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend b/meta-digi-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend new file mode 100644 index 000000000..d02b670c5 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend @@ -0,0 +1,15 @@ +# Copyright (C) 2012 Digi International + +DESCRIPTION = "bootloader for Digi platforms" + +PR_append = "+digi.0" + +SRC_URI = "git://log-sln-git.digi.com/u-boot-denx.git;tag=agonzal/yocto" + +EXTRA_OEMAKE += 'HOSTSTRIP=true' + +UBOOT_MAKE_TARGET = "u-boot.bin" +UBOOT_SUFFIX = "bin" +UBOOT_PADDING = "2" + +