All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/2] u-boot: add 2011.03
Date: Tue, 17 May 2011 22:42:31 +0200	[thread overview]
Message-ID: <4DD2DDB7.4030003@atmel.com> (raw)
In-Reply-To: <1304974747-21466-1-git-send-email-schnitzeltony@gmx.de>

2011-05-09 22:59, Andreas Mueller skrev:
> Signed-off-by: Andreas Mueller<schnitzeltony@gmx.de>
> ---
>   recipes/u-boot/u-boot_2011.03.bb |   19 +++++++++++++++++++
>   1 files changed, 19 insertions(+), 0 deletions(-)
>   create mode 100644 recipes/u-boot/u-boot_2011.03.bb
>
> diff --git a/recipes/u-boot/u-boot_2011.03.bb b/recipes/u-boot/u-boot_2011.03.bb
> new file mode 100644
> index 0000000..8ab385f
> --- /dev/null
> +++ b/recipes/u-boot/u-boot_2011.03.bb
> @@ -0,0 +1,19 @@
> +PR = "r0"
> +require u-boot.inc
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
> +SRC_URI[md5sum] = "91d02124c94368557d0e9ac05fb8c33f"
> +SRC_URI[sha256sum] = "08677f66d8d4ee542f6599f580cdffdf730544e1803f9d3739117d6f6d68083e"
> +
> +
> +TARGET_LDFLAGS = ""
> +
> +inherit base
> +
> +do_compile () {
> +       oe_runmake ${UBOOT_MACHINE}
> +       oe_runmake all
> +}
> +
I added support for building multiple u-boot targets in 2009.11
Suggest that this functionality is added in all new u-boot recipes.
There is a new include file which handles the install.


PR = "r2"
require u-boot_r2.inc

DEFAULT_PREFERENCE = "-1"
...
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
...

TARGET_LDFLAGS = ""

inherit base

do_compile () {
     if ! [ "x${UBOOT_MACHINES}" == "x" ] ; then
         for board in ${UBOOT_MACHINES} ; do
             if ! [ `grep ${board}_config Makefile | wc -c` == 0 ] ; then
                 mkdir -p binaries/${board}
                 oe_runmake O=binaries/${board} distclean
                 oe_runmake O=binaries/${board} ${board}_config
                 oe_runmake O=binaries/${board} all
             fi
         done
     else
            oe_runmake ${UBOOT_MACHINE}
            oe_runmake all
     fi
}

SRC_URI[md5sum] = "d94700614225f53c853dfe714eb5fa47"
SRC_URI[sha256sum] = 
"066615314fc90a314823ac975ca2a525a51fdad41802f4088a3a21ce073e8de6"



-- 
Best Regards
Ulf Samuelsson




      parent reply	other threads:[~2011-05-17 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09 20:59 [PATCH 1/2] u-boot: add 2011.03 Andreas Mueller
2011-05-09 20:59 ` [PATCH 2/2] overo: u-boot fix by moving to version 2011.03 Andreas Mueller
2011-05-10  8:00 ` [PATCH 1/2] u-boot: add 2011.03 Koen Kooi
2011-05-17 20:42 ` Ulf Samuelsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DD2DDB7.4030003@atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.