From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pfepb.post.tele.dk ([195.41.46.236]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OkAa8-0003Va-C2 for barebox@lists.infradead.org; Sat, 14 Aug 2010 06:51:04 +0000 Date: Sat, 14 Aug 2010 08:51:02 +0200 From: Sam Ravnborg Message-ID: <20100814065102.GA8583@merkur.ravnborg.org> References: <1281241073-19115-1-git-send-email-plagnioj@jcrosoft.com> <20100808064846.GA31364@merkur.ravnborg.org> <20100808090612.GM24069@game.jcrosoft.org> <20100813192612.GA8351@merkur.ravnborg.org> <20100814043516.GB24191@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100814043516.GB24191@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] Kconfig: sync with linux kernel v2.6.35-4771-g1787985 To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org On Sat, Aug 14, 2010 at 06:35:16AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > We could instead pick this up from the mainmenu entry. > > > > So we in a Kconfig file could have: > > > > mainmenu "My application configuration - version $VERSION" > > > > config VERSION > > string > > option env=VERSION > > > > > > The text in mainmenu will have all references to $SOMETHING > > expanded to the string representation of that symbol. > > > > And we can use existing functionality to pick up environment variables. > > > > The frontends needs to be adapted as well as the kconfig backend. > > > > But doing the above I guess we have 'fixed' almost all kernel references. > I like it > > and how about the new set/select option I mention also? > > because I also take a look in the kernel for ARM as example and it will be > usefull to simplify it Have not considered it yet. As it is a new feature I decided to look into some of the bugs first. And I consider the harcoding of "kernel" as a bug. Sam _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox