public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* What about make mergeconfig ?
@ 2006-10-25  5:46 Benjamin Herrenschmidt
  2006-10-25  6:59 ` David Woodhouse
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Benjamin Herrenschmidt @ 2006-10-25  5:46 UTC (permalink / raw)
  To: Linux Kernel list; +Cc: Sam Ravnborg

Hi folks !

I'm not good enough at make and friends to do that myself without
spending a lot more time than I have at hand, but I figured it might be
something doable in a blink for whoever knows Kconfig guts :)

What about something like:

make mergeconfig <path_to_file>

That would merge all entries in the specified file with the
current .config. By mergeing, that basically means that rule:

N + N = N
m + N = m
Y + N = Y
m + Y = Y

(that is, we basically take for each entry max(.config, merge file)

The idea here is that on archs like powerpc, we have the ability to
build kernels that can boot several platforms. However, the defconfigs
we ship (g5_defconfig, pseries_defconfig, maple_defconfig, cell... ) are
tailored for one platform.

Now, if (for testing typically) I want to build a kernel that boots (and
has all the necessary drivers) for both a g5 and a cell, I need to start
from one of the defconfigs (the g5 one) and basically add in manually
all the bits necessary from the other one (the cell one).

Thus it might be useful to have a mecanism to automate that...

Thanks in advance for whichever guru wants to have a look at this :)

Cheers,
Ben.


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

end of thread, other threads:[~2006-10-27 11:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25  5:46 What about make mergeconfig ? Benjamin Herrenschmidt
2006-10-25  6:59 ` David Woodhouse
2006-10-25 10:01 ` Jesper Juhl
2006-10-25 13:52   ` Benjamin Herrenschmidt
2006-10-25 10:18 ` Dick Streefland
2006-10-25 11:39   ` Jan Engelhardt
2006-10-25 12:07     ` Dick Streefland
2006-10-26  8:00       ` Jan Engelhardt
2006-10-26  9:03         ` Geert Uytterhoeven
2006-10-26 11:25           ` Jan Engelhardt
2006-10-26 12:00             ` Geert Uytterhoeven
2006-10-27  9:58               ` Jan Engelhardt
2006-10-27 11:14                 ` Geert Uytterhoeven
2006-10-25 17:41 ` Christoph Lameter
2006-10-26 10:50 ` Samuel Tardieu

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