Return-Path: Received: from mail.ebenfeld.de (mail.ebenfeld.de [91.121.66.165]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A7259E0049C for ; Thu, 30 Jan 2014 14:48:33 -0800 (PST) Received: by mail.ebenfeld.de (Postfix, from userid 1000) id A0165124727; Thu, 30 Jan 2014 23:48:15 +0100 (CET) From: Sven Ebenfeld To: meta-freescale@yoctoproject.org Date: Thu, 30 Jan 2014 23:48:12 +0100 Message-Id: <1391122093-26390-3-git-send-email-sven.ebenfeld@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1391122093-26390-1-git-send-email-sven.ebenfeld@gmail.com> References: <52E8E641.6040409@freescale.com> <1391122093-26390-1-git-send-email-sven.ebenfeld@gmail.com> Cc: Sven Ebenfeld Subject: [meta-fsl-arm-extra][PATCH v2 2/3] Add U-Boot Recipe for MarS Board by Embest-Tech Using Git Repository git://github.com/embest-tech/uboot-imx.git Add SRCBRANCH X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 22:48:37 -0000 Signed-off-by: Sven Ebenfeld --- recipes-bsp/u-boot/u-boot-mars_2009.08.bb | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-mars_2009.08.bb diff --git a/recipes-bsp/u-boot/u-boot-mars_2009.08.bb b/recipes-bsp/u-boot/u-boot-mars_2009.08.bb new file mode 100644 index 0000000..059bc08 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-mars_2009.08.bb @@ -0,0 +1,42 @@ +# Copyright (C) 2011 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Bootloader for MarS-Board from embest-tech" +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 = "r0" +SRCREV = "fd0898ed076415a2378b8ba85da8c11a0bc07126" + +SRCBRANCH = "master" + +SRC_URI = "git://github.com/embest-tech/uboot-imx.git;branch=${SRCBRANCH}" + +UBOOT_MACHINE_marsboard = "mx6q_marsboard_config" + +UBOOT_MAKE_TARGET = "u-boot.bin" + +# Please, add the following variables to conf/local.conf +# in order to use this u-boot version +# UBOOT_SUFFIX = "bin" +# UBOOT_PADDING = "2" +# PREFERRED_PROVIDER_u-boot = "u-boot-mars" + +S = "${WORKDIR}/git" +EXTRA_OEMAKE += 'HOSTSTRIP=true' + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +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 = "(marsboard)" -- 1.7.9.5