Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollis_blanchard@mentor.com>
To: buildroot@busybox.net
Subject: [Buildroot] multiple BR2_EXTERNAL layers?
Date: Fri, 17 Jul 2015 09:23:01 -0700	[thread overview]
Message-ID: <55A92BE5.8060307@mentor.com> (raw)

Hi Yann, is it possible to specify multiple layers in BR2_EXTERNAL? When I try (make BR2_EXTERNAL="/foo /bar"), my second layer seems to be ignored.

My team has a bunch of testcases in separate directories. Many of these use simple bare metal executables, but some include Linux. I would like to adopt Buildroot, but keep testcase-specific bits (Linux config files, device trees, etc) in its own directory. At the same time, some components (e.g. test applications) should be shared across testcases. So I want to use BR2_EXTERNAL="/project/testcase /project/shared", but that doesn't seem to be possible right now...?

I believe I could relocate all these pieces out of the testcase directories into a parallel "layer" directory tree, but that doesn't match our workflow and would be fairly confusing (e.g. "to create a new testcase, first create the new testcase, then go over to a different directory tree and create the new testcase there too"). I think would make adopting Buildroot a tougher sell.

(I also think there's a little confusion about what "layer" means in the user manual, or at least I was confused. I expected "layer" to mean "a path which can be provided to BR2_EXTERNAL." However, reading closely, the user manual says "Each layer is typically embodied by a separate directory inside |board/<company>/|. Depending on your projects, you could even introduce more than two layers." So I think "layer" really means "directory inside the single BR2_EXTERNAL tree".)

-- 
Hollis Blanchard
Mentor Graphics Emulation Division

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150717/cb54b965/attachment.html>

             reply	other threads:[~2015-07-17 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 16:23 Hollis Blanchard [this message]
2015-07-17 16:46 ` [Buildroot] multiple BR2_EXTERNAL layers? Yann E. MORIN
2015-07-17 17:47   ` Hollis Blanchard

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=55A92BE5.8060307@mentor.com \
    --to=hollis_blanchard@mentor.com \
    --cc=buildroot@busybox.net \
    /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