From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Wed, 04 Sep 2013 18:08:34 +0200 Subject: [Buildroot] [PATCH 2 of 9 v4] Config.in.legacy: update description for users In-Reply-To: References: <20130902225514.7d9323cc@skate> <52257EA4.9030001@mind.be> <20130903091818.616d6665@skate> <20130903135209.3b1ea8f5@skate> <87ob8a54ie.fsf@dell.be.48ers.dk> <52261367.8040905@mind.be> Message-ID: <52275B02.7020106@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 09/04/13 10:33, Thomas De Schampheleire wrote: > Hi Arnout, > > On Tue, Sep 3, 2013 at 6:50 PM, Arnout Vandecappelle wrote: >> On 09/03/13 17:06, Peter Korsgaard wrote: >>>>>>>> >>>>>>>> "Thomas" == Thomas Petazzoni >>>>>>>> writes: >>> >>> >>> >>> Thomas> So far, the only problem I see with this are related to minimal >>> Thomas> defconfigs. In the case (1) above, the minimal defconfig will >>> continue >>> Thomas> to contain the name of the legacy option, and not the name of >>> the new >>> Thomas> option, since the new option is selected by the legacy option. >>> This is >>> Thomas> annoying since it means minimal defconfigs are not progressively >>> Thomas> updated to use the new option name. And this probably makes my >>> entire >>> Thomas> proposal moot. >>> >>> Damn, yes :/ >>> >>> So people really do need to explictly change to the new option / restart >>> make menuconfig. >> >> >> I never tried it, but a workaround could be to run olddefconfig before any >> interactive config (menuconfig, nconfig, xconfig, qconfig). olddefconfig >> should be equivalent to saving immediately. > > I tried it manually (not yet integrated in a Makefile) and it works as expected. > However, a disadvantage is that any new symbol will no longer be > marked as NEW in the interactive config. So the trade-off would be > between loosing this NEW marker, and requiring the user to do an > intermediate save. If the user does an intermediate save, the NEW marker will also be gone... But at least, this is only for a user that has legacy stuff, not for all those innocent people out there that just do a 'make menuconfig' after 'git pull'. Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F