From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 13 Sep 2008 23:41:55 +0200 Subject: [U-Boot] =?iso-8859-1?q?=5BAnnounce=5D=5BRFC=5D=A0CFG=5F_macro_re?= =?iso-8859-1?q?naming?= In-Reply-To: <200809132338.52945.luigi.mantellini.ml@gmail.com> References: <20080901235624.GC316@game.jcrosoft.org> <20080902003455.85A40242FF@gemini.denx.de> <20080902005958.GD316@game.jcrosoft.org> <200809132338.52945.luigi.mantellini.ml@gmail.com> Message-ID: <20080913214155.GA32194@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 23:38 Sat 13 Sep , Luigi 'Comio' Mantellini wrote: > Hi Jean-Christophe, > Hi Wolfgang, > > Can you create a "deprecated_cfg.h" file that contains directives like: > > #ifdef CFG_OLD_PARAMATER > #error "CFG_OLD_PARAMETER renamed! Use CONIFIG_NEW_PARAMETER instead!" > #endif > > for each CFG_* renamed directive? > > This should avoid to "lost" some configuration parameters during this > transitory.phase. this file should be included by common.h for example. IMHO, I do not think it's needed due to there is no "lost" possible with this kind of script git-grep CFG_ | cut -d: -f1 | grep -v -e "CHANGELOG*" | xargs sed -i -e "s:CFG_:CONFIG_SYS_:g" Best Regards, J.