From: dick.streefland@altium.nl (Dick Streefland)
To: linux-kernel@vger.kernel.org
Subject: Re: What about make mergeconfig ?
Date: Wed, 25 Oct 2006 10:18:55 -0000 [thread overview]
Message-ID: <3d6d.453f3a0f.92d2c@altium.nl> (raw)
In-Reply-To: 1161755164.22582.60.camel@localhost.localdomain
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
| 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)
Can't you do that with just a sort command?
sort .config other.config > new.config
--
Dick Streefland //// Altium BV
dick.streefland@altium.nl (@ @) http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------
next prev parent reply other threads:[~2006-10-25 10:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=3d6d.453f3a0f.92d2c@altium.nl \
--to=dick.streefland@altium.nl \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.