From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] u-boot: add machine name to spl image name
Date: Tue, 10 Apr 2012 16:28:22 +0200 [thread overview]
Message-ID: <20120410142822.GF3583@jama.jama.net> (raw)
In-Reply-To: <52751372-18B8-47AC-955C-BD3EB17FDD8D@dominion.thruhere.net>
[-- Attachment #1: Type: text/plain, Size: 3486 bytes --]
On Tue, Apr 10, 2012 at 04:22:43PM +0200, Koen Kooi wrote:
>
> Op 10 apr. 2012, om 16:19 heeft Stefan Herbrechtsmeier het volgende geschreven:
>
> > Am 10.04.2012 15:56, schrieb Koen Kooi:
> >> Op 10 apr. 2012, om 15:41 heeft Richard Purdie het volgende geschreven:
> >>
> >>> On Fri, 2012-04-06 at 06:29 -0700, Koen Kooi wrote:
> >>>> Op 5 apr. 2012 om 20:18 heeft Saul Wold<sgw@linux.intel.com> het volgende geschreven:
> >>>>
> >>>>> On 04/05/2012 04:48 AM, Stefan Herbrechtsmeier wrote:
> >>>>>> Signed-off-by: Stefan Herbrechtsmeier<stefan@herbrechtsmeier.net>
> >>>>>> ---
> >>>>>> meta/recipes-bsp/u-boot/u-boot.inc | 2 +-
> >>>>>> meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 2 +-
> >>>>>> meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 2 +-
> >>>>>> 3 files changed, 3 insertions(+), 3 deletions(-)
> >>>>>>
> >>>>>> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
> >>>>>> index 700d5d3..0445c34 100644
> >>>>>> --- a/meta/recipes-bsp/u-boot/u-boot.inc
> >>>>>> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
> >>>>>> @@ -32,7 +32,7 @@ UBOOT_MAKE_TARGET ?= "all"
> >>>>>> # deploy directory. For those versions they can set the following variables
> >>>>>> # to allow packaging the SPL.
> >>>>>> SPL_BINARY ?= ""
> >>>>>> -SPL_IMAGE ?= "${SPL_BINARY}-${PV}-${PR}"
> >>>>>> +SPL_IMAGE ?= "${SPL_BINARY}-${MACHINE}-${PV}-${PR}"
> >>>>>> SPL_SYMLINK ?= "${SPL_BINARY}-${MACHINE}"
> >>>>>>
> >>>>>> do_compile () {
> >>>>>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> >>>>>> index 1ebdbea..e99bc2c 100644
> >>>>>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> >>>>>> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> >>>>>> @@ -17,7 +17,7 @@ FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
> >>>>>> SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
> >>>>>>
> >>>>>> PV = "v2011.03+git${SRCPV}"
> >>>>>> -PR = "r5"
> >>>>>> +PR = "r6"
> >>>>>>
> >>>>>> SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> >>>>>>
> >>>>>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> >>>>>> index 8ebdbff..680401f 100644
> >>>>>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> >>>>>> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> >>>>>> @@ -17,7 +17,7 @@ FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
> >>>>>> SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
> >>>>>>
> >>>>>> PV = "v2011.06+git${SRCPV}"
> >>>>>> -PR = "r0"
> >>>>>> +PR = "r1"
> >>>>>>
> >>>>>> SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> >>>>>>
> >>>>> Merged into OE-Core
> >>>> wait a minute, why was this merged?
> >>> In retrospect it shouldn't.
> >> Can we back it out? It breaks a ton of buildscripts. SPL_SYMLINK already has the machine.
> > But this means that your SPL_SYMLINK can point to a wrong SPL_IMAGE if you don't use machine in the tmpdir path and build more than one machine.
>
> I guess I'll have a suggestion for the 1.3 release:
>
> [koen@Angstrom-F16-vm-rpm meta-angstrom]$ git grep DEPLOY_DIR_IMAGE
> conf/distro/include/angstrom.inc:DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
Looks good :)
meta-shr/conf/distro/shr.conf:DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2012-04-10 14:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 11:48 [PATCH] u-boot: add machine name to spl image name Stefan Herbrechtsmeier
2012-04-06 3:18 ` Saul Wold
2012-04-06 13:29 ` Koen Kooi
2012-04-10 13:41 ` Richard Purdie
2012-04-10 13:56 ` Koen Kooi
2012-04-10 14:19 ` Stefan Herbrechtsmeier
2012-04-10 14:22 ` Koen Kooi
2012-04-10 14:28 ` Martin Jansa [this message]
2012-04-11 11:36 ` Richard Purdie
2012-04-11 11:49 ` Koen Kooi
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=20120410142822.GF3583@jama.jama.net \
--to=martin.jansa@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox