Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot customizations as a git submodule?
@ 2012-09-11 14:06 Daniel Nyström
  2012-09-11 14:26 ` Thomas Petazzoni
  2012-09-11 19:14 ` Arnout Vandecappelle
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Nyström @ 2012-09-11 14:06 UTC (permalink / raw)
  To: buildroot

How do you folks on this mailing list manage your customizations on Buildroot?

I was thinking maybe I could keep all my customizations as a git
submodule residing in board/<company>/<project>?

Can I add new software packages without touching the original BR
source files or directories? How about defconfigs?

It would be really awesome if this could be achieved so one did not
have to make changes to BR at all.

Thoughts or comments anyone?

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot]  Buildroot customizations as a git submodule?
@ 2012-09-11 14:26 Dmitry Golubovsky
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Golubovsky @ 2012-09-11 14:26 UTC (permalink / raw)
  To: buildroot

Daniel,

Daniel wrote:

> How do you folks on this mailing list manage your customizations on Buildroot?

I have something like this in use, although not as a git submodule but
rather as a group of git repos under Google's repo utility management
(the same utility was used in Android source tree management).

See http://gitorious.org/lfa, and specifically:

http://gitorious.org/lfa/build/trees/master - this repo contains the
necessary submakefile
http://gitorious.org/lfa/myroot/trees/master - this repo contains a
project with private packages
http://gitorious.org/lfa/lfa-manifest/trees/master - this repo
contains an XML manifest file to put things together.

At the top level it looks like a directory with three subdirs: myroot,
buildroot, and build. Technicaly it should be possible to add more
repos for custom packages to manage them under the same source tree.

All private packages are symlinked to the Buildroot tree (under
"packages"), so Buildroot sources are not disturbed. Also,
build/Build.mk does some environment manipulations to run menuconfig
over an extended config file which also includes custom packages (in a
special section).

One thing which il likely not handled well, when a custom package has
the same name as an existing package, but IMHO such situation must be
avoided anyway.

Hope this helps.

Thanks.

-- 
Dmitry Golubovsky

Anywhere on the Web

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-11 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 14:06 [Buildroot] Buildroot customizations as a git submodule? Daniel Nyström
2012-09-11 14:26 ` Thomas Petazzoni
2012-09-11 19:14 ` Arnout Vandecappelle
  -- strict thread matches above, loose matches on Subject: below --
2012-09-11 14:26 Dmitry Golubovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox