Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/5] Makefile: Support merged and nested defconfigs.
@ 2016-06-21  4:56 Sam Bobroff
  2016-06-21  4:56 ` [Buildroot] [PATCH v2 1/5] Add support for merged defconfigs Sam Bobroff
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Sam Bobroff @ 2016-06-21  4:56 UTC (permalink / raw)
  To: buildroot


This is a combination and cleanup of the previous efforts by
Sam Bobroff and Elizabeth Liner to introduce merged defconfigs
and nested defconfig directories respectively.

Merged defconfigs allow us to create defconfig snippets for aspects
that are common across multiple machines and create a combined defconfig
from the snippets.  The support scripts for merged kernel defconfigs is reused.

Nested defconfig directories allow us to organize the defconfig
directory into sub-directories.  A likely use for this is to place
defconfigs into architecture-specific subdirectories.


Changes v1 -> v2:

This is a complete rework of the config merging system, discarding the .merge
files and instead using Makefile fragments included from the configuration
directories that invoke a Make function. This allows much better error handling
as well as a cleaner looking system (somewhat similar to the package .mk
files).

I've also added some documentation to explain what is supported and an example
to show how it's used.  I haven't touched the documentation before and I'm not
familiar with the formatting so I hope I've done it the right way and that it's
useful (feedback would be great). "make manual-html" seems to work at least.


Elizabeth Liner (1):
  Makefile: Support nested config directories

Patrick Williams (3):
  Makefile: Generate %_defconfig recipes from macro.
  Makefile: Add nested config dirs to list-defconfigs
  Makefile: Add merged defconfigs to list-defconfigs.

Sam Bobroff (1):
  Add support for merged defconfigs

 Makefile                             | 58 +++++++++++++++++++++++++++++-----
 docs/manual/adding-board-support.txt |  3 ++
 docs/manual/appendix.txt             |  1 +
 docs/manual/merged-defconfigs.txt    | 60 ++++++++++++++++++++++++++++++++++++
 4 files changed, 114 insertions(+), 8 deletions(-)
 create mode 100644 docs/manual/merged-defconfigs.txt

-- 
2.1.0

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

end of thread, other threads:[~2016-06-21 23:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21  4:56 [Buildroot] [PATCH v2 0/5] Makefile: Support merged and nested defconfigs Sam Bobroff
2016-06-21  4:56 ` [Buildroot] [PATCH v2 1/5] Add support for merged defconfigs Sam Bobroff
2016-06-21 22:09   ` Romain Naour
2016-06-21 23:18     ` Sam Bobroff
2016-06-21  4:56 ` [Buildroot] [PATCH v2 2/5] Makefile: Generate %_defconfig recipes from macro Sam Bobroff
2016-06-21 22:12   ` Romain Naour
2016-06-21 23:19     ` Sam Bobroff
2016-06-21  4:56 ` [Buildroot] [PATCH v2 3/5] Makefile: Support nested config directories Sam Bobroff
2016-06-21  4:56 ` [Buildroot] [PATCH v2 4/5] Makefile: Add nested config dirs to list-defconfigs Sam Bobroff
2016-06-21  4:56 ` [Buildroot] [PATCH v2 5/5] Makefile: Add merged defconfigs " Sam Bobroff

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