[PATCH 8 of 8] kconfig: prepend CT-NG's version tag to PKGVERSION

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Fri Jun 3 22:01:00 GMT 2011


Arnaud, Benoit, All,

On Friday 03 June 2011 23:44:37 Arnaud Lacombe wrote:
> 2011/6/1 Benoît THÉBAUDEAU <benoit.thebaudeau@advansee.com>:
> > kconfig: prepend CT-NG's version tag to PKGVERSION
> could you please avoid to prefix your patches with `kconfig' when they
> truly applied to the `config'. Each time I see a patch prefixed with
> `kconfig', I think there is something wrong with the tools, which
> picks up my attention as per the not-fully standard way crosstool-ng
> uses it.

Yes, indeed. Arnaud is quite helpful regarding helping fix/enhance
kconfig [0] so we can use it easily in crosstool-NG (most probably,
other projects will benefit those changes as well, such as buildroot).

Unfortunately, there is no clear prefixing scheme for the commit logs.
What I (try to) do is:
  category/component: subject

where 'category' is one of cc, libc, kernel, arch, and so on, and
'component' is one of gcc, glibc, uClibc, linux, arm and so on. For
example, something that relates to gcc (config and/or build script)
will be prefixed with:
  cc/gcc: add config option to foo the bar, pass to ./configure

Of course, that is not as easy with the rest of the code. For example,
there is the kconfig stuff, which gets prefixed with 'kconfig', and
the rest of the scripts, for example:
  scripts/functions: add generic buz wrapper

Plus a few other exceptions to the rule (it needs exceptions, or it would
not be a rule!). But this is not a definitive rule, this is just my prefered
scheme. I'll add it to the docs. Thanks for bringing up the subject.

And thanks again for your help on kconfig! :-)

Regards,
Yann E. MORIN.

[0] For those wondering why there has been no mail about this on this very
list, the kconfig discussions happen on the linux-kbuild ML, as it is
most appropriate to discuss the issues there.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list