From: Tom Rini Date: Mon, 1 Jun 2015 10:12:19 -0400 Subject: [U-Boot] [PATCH v3 2/2] Clean all defconfigs with savedefconfig In-Reply-To: References: <1431453700-3882-1-git-send-email-joe.hershberger@ni.com> <1431459984-7788-1-git-send-email-joe.hershberger@ni.com> <1431459984-7788-2-git-send-email-joe.hershberger@ni.com> <20150512221215.GF5729@bill-the-cat> <1433152012.15036.86.camel@hellion.org.uk> Message-ID: <20150601141219.GF1728@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 01, 2015 at 08:41:34AM -0500, Joe Hershberger wrote: > Hi Ian, > > On Mon, Jun 1, 2015 at 4:46 AM, Ian Campbell wrote: > > On Mon, 2015-06-01 at 15:45 +0800, Chen-Yu Tsai wrote: > >> Hi, > >> > >> On Wed, May 13, 2015 at 6:12 AM, Tom Rini wrote: > >> > On Tue, May 12, 2015 at 02:46:24PM -0500, Joe Hershberger wrote: > >> > > >> >> In order to reduce merge conflicts and to maintain the simplest possible > >> >> defconfig files, we should be using the savedefconfig feature of Kconfig > >> >> every time a new feature is added. This keeps the defconfig settings to > >> >> a minimum (only those things not default) and keeps them in the same > >> >> order as the Kconfig options. > >> >> > >> >> Signed-off-by: Joe Hershberger > >> >> Cc: Masahiro Yamada > >> >> Acked-by: Stephen Warren > >> >> Cc: Tom Rini > >> >> > >> > > >> > Applied to u-boot/master, thanks! > >> > >> This patch wiped out all comments we had in sunxi defconfigs. > >> The comments include description for the boards, a link to a > >> wiki page, explanations for regulator and gpio settings. > >> > >> Hans, Ian, should we move that info to some other place that's > >> safer? > > > > The information is certainly useful and should be preserved. If we can't > > arrange for savedefconfig to preserve useful information (my preference) > > we should indeed put it somewhere else, but where? MAINTAINERS files > > perhaps? > > I don't think savedefconfig can do this as is. Someone would have to > work with the Linux kernel build guys to add a feature like that, I > think. > > > Tom -- perhaps in the meantime we could get a partial revert? > > This will just happen again any time someone moves any config. You're > much better off just moving it to the MAINTAINERS file now if it's > valuable information. That or into a README in doc like other stuff > does. This information belongs in a README somewhere. Just like you can't keep notes in the Linux kernel's arch/*/configs/ files you can't keep notes in the top-level configs directory in U-Boot (just like you can't keep notes in the defconfig files in other Kbuild projects, unless they're being extra careful about only hand-editing those files). -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: