All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	brian@crystalfontz.com,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	jimwall@q.com, Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [meta-fsl-arm-extra][PATCH 1/4] barebox: add a recipe to support mainline 2013.08.0
Date: Fri, 23 Aug 2013 09:05:34 +0200	[thread overview]
Message-ID: <20130823090534.7ca3df3d@e6520eb> (raw)
In-Reply-To: <52169966.5020607@free-electrons.com>

Hi Alexandre,

Le Fri, 23 Aug 2013 01:06:14 +0200,
Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :

> On 22/08/2013 20:00, Otavio Salvador wrote:
> > On Thu, Aug 22, 2013 at 2:14 PM, Eric Bénard <eric@eukrea.com> wrote:
> >> Hi Alexandre,
> >>
> >> Le Thu, 22 Aug 2013 16:51:14 +0200,
> >> Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :
> >>
> >>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> >>> ---
> >>>  recipes-bsp/barebox/barebox_2013.08.0.bb | 26 ++++++++++++++++++++++++++
> >>>  1 file changed, 26 insertions(+)
> >>>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
> >>>
> >>> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
> >>> new file mode 100644
> >>> index 0000000..2f6118b
> >>> --- /dev/null
> >>> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
> >>> @@ -0,0 +1,26 @@
> >>> +require recipes-bsp/barebox/barebox.inc
> >>> +
> >>> +PR = "r1"
> >>> +
> >>> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2"
> >>> +
> >>> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
> >>> +SRC_URI[sha256sum] = "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
> >>> +
> >>> +python () {
> >>> +     if not d.getVar("BAREBOX_MACHINE", True):
> >>> +             PN = d.getVar("PN", True)
> >>> +             FILE = os.path.basename(d.getVar("FILE", True))
> >>> +             bb.debug(1, "To build %s, see %s for instructions on \
> >>> +                          setting up your machine config" % (PN, FILE))
> >>> +             raise bb.parse.SkipPackage("BAREBOX_MACHINE is not set in the %s machine configuration." % d.getVar("MACHINE", True))
> >>> +}
> >>> +
> >> if you plan to create a generic barebox recipe and as barebox is using
> >> Kconfig like Linux does, I would recommend to include the defconfig for
> >> your board here as done on the kernel side instead of using the
> >> defconfig which may exist into barebox's mainline sources (that makes
> >> customization easier especially when using SOM).
> >>
> >> If you don't plan do create the generic barebox recipe, that's still on
> >> my todo list but with a very low priority :-)
> > Agreed.
> >
> I'm actually wondering about that. The defconfig included in the barebox
> mainline is perfectly fine. And people wanting to change it will have to
> write a bbappend anyway or am I missing something ?

a bbappend will be needed but in that case the python () which skips the
package if BAREBOX_MACHINE is not set shouldn't go in the default
barebox recipe else every machine using barebox will have to set
BAREBOX_MACHINE and then to hack the defconfig after pre_configure.

Eric


  parent reply	other threads:[~2013-08-23  7:05 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22 14:51 [meta-fsl-arm-extra][PATCH 0/4] Add support for CrystalFontz boards Alexandre Belloni
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 1/4] barebox: add a recipe to support mainline 2013.08.0 Alexandre Belloni
2013-08-22 17:04   ` Otavio Salvador
2013-08-22 17:14   ` Eric Bénard
2013-08-22 18:00     ` Otavio Salvador
2013-08-22 23:06       ` Alexandre Belloni
2013-08-23  0:22         ` Otavio Salvador
2013-08-23  7:05         ` Eric Bénard [this message]
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 2/4] imx-bootlets: add a recipe for barebox and cfa-10036 support Alexandre Belloni
2013-08-22 17:10   ` Otavio Salvador
2013-08-22 17:20     ` Alexandre Belloni
2013-08-22 17:59       ` Otavio Salvador
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 3/4] linux-cfa: add a kernel recipe supporting Crystalfontz boards Alexandre Belloni
2013-08-22 17:06   ` Otavio Salvador
2013-08-22 17:17     ` Alexandre Belloni
2013-08-22 17:19       ` Otavio Salvador
2013-08-22 17:27         ` Alexandre Belloni
2013-08-22 17:47           ` Eric Bénard
2013-08-22 17:56           ` Otavio Salvador
2013-08-22 23:11             ` Alexandre Belloni
2013-08-23  0:20               ` Otavio Salvador
2013-08-23  3:13               ` Marek Vasut
2013-08-23 11:06                 ` Alexandre Belloni
2013-08-23 11:25                   ` Marek Vasut
2013-08-23  9:09               ` Qt5 with opengl hw acceleration on imx53 Simone
2013-08-23  9:17                 ` Eric Bénard
2013-08-23  9:28                   ` Simone
2013-08-23  9:40                     ` Eric Bénard
2013-08-23  9:56                       ` Simone
2013-08-23 10:08                         ` Abhijit Potnis
2013-08-23 10:15                           ` Simone
2013-08-23 10:19                             ` Abhijit Potnis
2013-08-23 10:26                               ` Simone
2013-08-23 10:41                                 ` Abhijit Potnis
2013-08-23 12:06                                   ` Simone
2013-08-23 12:52                                   ` Simone
2013-08-23 10:50                               ` Simone
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 4/4] cfa10036: Add cfa10036 machine configuration Alexandre Belloni
2013-08-22 17:06   ` Otavio Salvador
2013-08-22 17:12     ` Alexandre Belloni
2013-08-22 17:15       ` Otavio Salvador
2013-08-22 14:52 ` [meta-fsl-arm-extra][PATCH 0/4] Add support for CrystalFontz boards Alexandre Belloni
2013-08-22 16:52   ` Otavio Salvador

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=20130823090534.7ca3df3d@e6520eb \
    --to=eric@eukrea.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=brian@crystalfontz.com \
    --cc=jimwall@q.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /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.