mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] Kconfig: sync with linux kernel v2.6.35-4771-g1787985
Date: Fri, 13 Aug 2010 21:26:12 +0200	[thread overview]
Message-ID: <20100813192612.GA8351@merkur.ravnborg.org> (raw)
In-Reply-To: <20100808090612.GM24069@game.jcrosoft.org>

> infact yes if the project name could be configurable it will avoid to modify
> it and we could use it as is
> 
> I've notice 3 names
> 
> kernel,
> Kernel,
> Linux Kernel
> 
> if instead of hard coding it we could use a symbol to configure it it will
> make it integrable as is
> 
> one other think it will be good to avoid KERNEL something in the env or the
> default symbol and use a more generic one as for KERNELVERSION use
> RELEASEVERSION as example

The solution I have in mind is to try to add the relevant
information to the Kconfig files.

Today the title is hardcoded in the frontends (menuconfig, nconfig etc).
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.

	Sam

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2010-08-13 19:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-08  4:17 Jean-Christophe PLAGNIOL-VILLARD
2010-08-08  6:48 ` Sam Ravnborg
2010-08-08  9:06   ` Jean-Christophe PLAGNIOL-VILLARD
2010-08-08 12:07     ` Sam Ravnborg
2010-08-08 12:20       ` Jean-Christophe PLAGNIOL-VILLARD
2010-08-13 19:26     ` Sam Ravnborg [this message]
2010-08-14  4:35       ` Jean-Christophe PLAGNIOL-VILLARD
2010-08-14  6:51         ` Sam Ravnborg
2010-08-09  6:49   ` Robert Schwebel
2010-08-22 12:54     ` Peter Korsgaard
2010-08-23  2:51       ` Jean-Christophe PLAGNIOL-VILLARD
2010-08-18 15:15 ` Jean-Christophe PLAGNIOL-VILLARD
2010-08-21 10:27   ` Sascha Hauer
2010-08-21 11:35     ` Sam Ravnborg
2010-08-22  5:07       ` Jean-Christophe PLAGNIOL-VILLARD
2010-08-22  5:55         ` Sam Ravnborg
2010-08-22 13:48       ` Peter Korsgaard
2010-08-24 17:59       ` Uwe Kleine-König
2010-08-22  5:17 ` [PATCH v2] Kconfig: sync with linux kernel v2.6.36-rc1-168-ge36c886 Jean-Christophe PLAGNIOL-VILLARD

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=20100813192612.GA8351@merkur.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox