From: Martyn Welch <martyn.welch@ge.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: u-boot-utils and UBOOT_MACHINE?
Date: Wed, 09 Mar 2011 13:12:37 +0000 [thread overview]
Message-ID: <4D777CC5.6090303@ge.com> (raw)
In-Reply-To: <4D7759A1.4060802@dresearch.de>
On 09/03/11 10:42, Steffen Sledz wrote:
> The current recipe for the u-boot-utils (u-boot-utils_1.2.0.bb) contains this:
>
> ------------------->snip<--------------------
> do_configure() {
> oe_runmake Sandpoint8240_config
> }
> ------------------->snip<--------------------
>
> This seems to be very machine specific.
>
> I'm not a u-boot-tools specialist. If the tools are not machine specific and the above line is just a placeholder, this should be documented.
>
It's been a while since I looked at u-boot-utils, I think the tools are
generic but the build scripts need a config to run.
> But if the tools itself are machine specific i believe there should be something like
>
> ------------------->snip<--------------------
> do_configure() {
> oe_runmake ${UBOOT_MACHINE}
> }
> ------------------->snip<--------------------
>
I guess you mean "oe_runmake ${UBOOT_MACHINE}_config" :-)
I doubt I'm the only one who uses OE to generate Linux images without having a
suitable U-Boot machine that could be used to satisfy that. We could put
Sandpoint8240 in each such machine conf and document why there. I also assume
that there are machine confs that currently lack a UBOOT_MACHINE variable
which could cause problems building the U-Boot tools if this change is made,
especially for machines that might exist in an overlay (more likely now with
OE-core?).
> and package build should go into machine specific workdir. Right?
>
I think they are generic, though I'm no expert.
Martyn
--
Martyn Welch (Principal Software Engineer) | Registered in England and
GE Intelligent Platforms | Wales (3828642) at 100
T +44(0)127322748 | Barbirolli Square, Manchester,
E martyn.welch@ge.com | M2 3AB VAT:GB 927559189
next prev parent reply other threads:[~2011-03-09 16:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 10:42 u-boot-utils and UBOOT_MACHINE? Steffen Sledz
2011-03-09 13:12 ` Martyn Welch [this message]
2011-03-09 17:12 ` Tom Rini
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=4D777CC5.6090303@ge.com \
--to=martyn.welch@ge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox