From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] BR2_EXTERNAL - Broken in 2015.08.01????
Date: Thu, 5 Nov 2015 14:29:58 +0100 [thread overview]
Message-ID: <20151105142958.60a38821@free-electrons.com> (raw)
In-Reply-To: <CAN34foz=B-ig5Ci4kE=UKk6p2qws2Pp-qzaQGgCoXpXco6SAuw@mail.gmail.com>
Dear Stephen Beckwith,
On Thu, 5 Nov 2015 08:16:33 -0500, Stephen Beckwith wrote:
> I'm having an issue getting code to build using a BR2_EXTERNAL setup with
> the 2015.08.01 release of Buildroot.
> The Config.in file structure works just fine, the options specified show up
> in menuconfig and are selectable. Defined CONFIG items (MUST they be
> BR2_XXXX names?) are listed at the bottom of the top level .config (using
> an "out of tree" build setup. . . )
> However, when I try to build the extra code, nothing happens. This code is
> just simple "hello world" programs in a custom directory structure, using
> the generic-package setup.
> My initial attempt did produce some make errors, so I know build-root was
> parsing through the make files, but fixes to remove the warnings results in
> NO makes being run to compile and add the code to the build.
> I've reviewed the Slides & Lab Notes posted on-line from this years
> training session and reviewed the manual. I have NO idea what's missing
> here.
> And yes, I have a .br-external file in the out of tree build directory
> (board as has been recommended - is this a MUST for Buildroot?) that is
> pointing to the external tree.
> I would GREATLY appreciate access to the magic decoder ring that will allow
> me to build this extra code as part of my embedded linux system.
Can you post:
- The output of "tree" in your external tree
- The contents of the top-level Config.in and external.mk of your
external tree.
- The contents of the Config.in and <package>.mk files of the package
in your external tree that you are trying to build
Then we can probably point you to the issues that are causing the
problems.
Other than that:
- Using a directory called board/ is not mandatory at all. You can
name it whatever you want. The only things in the external tree that
Buildroot enforces is the external.mk makefile, the top-level
Config.in, and the configs/ subdirectory if you want to store
defconfigs in your external tree.
- There can be as many subdirectories you want in your external tree,
as long as your external.mk (or the makefiles it includes) account
for it.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-11-05 13:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 13:16 [Buildroot] BR2_EXTERNAL - Broken in 2015.08.01???? Stephen Beckwith
2015-11-05 13:29 ` Thomas Petazzoni [this message]
2015-11-05 21:57 ` Stephen Beckwith
2015-11-05 22:05 ` Thomas Petazzoni
2015-11-06 14:12 ` Stephen Beckwith
2015-11-06 14:41 ` Thomas Petazzoni
2015-11-06 15:22 ` Stephen Beckwith
2015-11-06 15:54 ` Thomas Petazzoni
2015-11-06 16:04 ` Stephen Beckwith
2015-11-06 16:51 ` Thomas Petazzoni
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=20151105142958.60a38821@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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