All of lore.kernel.org
 help / color / mirror / Atom feed
From: Radu Moisan <radu.moisan@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH][RFC] u-boot: Upgrade to upstream stable 2012.07
Date: Fri,  3 Aug 2012 15:38:42 +0300	[thread overview]
Message-ID: <1343997523-4117-1-git-send-email-radu.moisan@intel.com> (raw)

Building u-boot requires UBOOT_MACHINE. In the u-boot README file
building u-boot is achieved with "make NAME_config" and then
"make all". I assumend UBOOT_MACHINE to be the "NAME" part and thus,
the "_config" addition in u-boot.inc
NAME is the machine name, and choices area vailable in boards.conf,
I used for testing coreboot-x86.

For u-boot-fw-utils fw_enc.c was changed and it requires a header
file config.h which is autogenerated at config so it requires a
"make NAME_config".

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
---
 ...ls_2012.04.01.bb => u-boot-fw-utils_2012.07.bb} |    7 ++++---
 ...age_2012.04.01.bb => u-boot-mkimage_2012.07.bb} |    6 +++---
 meta/recipes-bsp/u-boot/u-boot.inc                 |    2 +-
 .../{u-boot_2012.04.01.bb => u-boot_2012.07.bb}    |    8 ++++----
 4 files changed, 12 insertions(+), 11 deletions(-)
 rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2012.04.01.bb => u-boot-fw-utils_2012.07.bb} (83%)
 rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2012.04.01.bb => u-boot-mkimage_2012.07.bb} (84%)
 rename meta/recipes-bsp/u-boot/{u-boot_2012.04.01.bb => u-boot_2012.07.bb} (82%)

diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.07.bb
similarity index 83%
rename from meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb
rename to meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.07.bb
index fe3422a..2fa3b71 100644
--- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.07.bb
@@ -9,12 +9,12 @@ DEPENDS = "mtd-utils"
 # make it default
 DEFAULT_PREFERENCE = "-1"
 
-# This revision corresponds to the tag "v2012.04.01"
+# This revision corresponds to the tag "v2012.07"
 # We use the revision in order to avoid having to fetch it from the
 # repo during parse
-SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
+SRCREV = "190649fb4309d1bc0fe7732fd0f951cb6440f935"
 
-PV = "v2012.04.01+git${SRCPV}"
+PV = "2012.07"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 
@@ -23,6 +23,7 @@ S = "${WORKDIR}/git"
 EXTRA_OEMAKE = 'HOSTCC="${CC}"'
 
 do_compile () {
+  oe_runmake ${UBOOT_MACHINE}_config
   oe_runmake env
 }
 
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.07.bb
similarity index 84%
rename from meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb
rename to meta/recipes-bsp/u-boot/u-boot-mkimage_2012.07.bb
index aa107fe..752efcb 100644
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.07.bb
@@ -7,12 +7,12 @@ SECTION = "bootloader"
 # make it default
 DEFAULT_PREFERENCE = "-1"
 
-# This revision corresponds to the tag "v2012.04.01"
+# This revision corresponds to the tag "v2012.07"
 # We use the revision in order to avoid having to fetch it from the
 # repo during parse
-SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
+SRCREV = "190649fb4309d1bc0fe7732fd0f951cb6440f935"
 
-PV = "v2012.04.01+git${SRCPV}"
+PV = "2012.07"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index 42bdde9..58a8192 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -40,7 +40,7 @@ do_compile () {
 	unset LDFLAGS
 	unset CFLAGS
 	unset CPPFLAGS
-	oe_runmake ${UBOOT_MACHINE}
+	oe_runmake ${UBOOT_MACHINE}_config
 	oe_runmake ${UBOOT_MAKE_TARGET}
 }
 
diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot_2012.07.bb
similarity index 82%
rename from meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
rename to meta/recipes-bsp/u-boot/u-boot_2012.07.bb
index c4ec50d..7ccee30 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2012.07.bb
@@ -14,13 +14,13 @@ DEFAULT_PREFERENCE = "-1"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-# This revision corresponds to the tag "v2012.04.01"
+# This revision corresponds to the tag "v2012.07"
 # We use the revision in order to avoid having to fetch it from the
 # repo during parse
-SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
+SRCREV = "190649fb4309d1bc0fe7732fd0f951cb6440f935"
 
-PV = "v2012.04.01+git${SRCPV}"
-PR = "r1"
+PV = "2012.07"
+PR = "r0"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 
-- 
1.7.9.5




             reply	other threads:[~2012-08-03 12:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03 12:38 Radu Moisan [this message]
2012-08-03 12:46 ` [PATCH][RFC] u-boot: Upgrade to upstream stable 2012.07 Martin Jansa
2012-08-03 14:45   ` Radu Moisan
2012-08-03 16:19 ` Wolfgang Denk
2012-08-06  6:28   ` Radu Moisan
2012-08-06  7:45     ` Wolfgang Denk
2012-08-06 13:40       ` Radu Moisan
2012-08-06 13:46         ` Wolfgang Denk
2012-08-06 14:09           ` Radu Moisan
2012-08-06 14:13             ` Wolfgang Denk
2012-08-07  2:58               ` Khem Raj
2012-08-07  5:50               ` Radu Moisan

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=1343997523-4117-1-git-send-email-radu.moisan@intel.com \
    --to=radu.moisan@intel.com \
    --cc=openembedded-core@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.