All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3 v2] kconfig: get the CONFIG_ prefix from the environment
@ 2012-10-18 19:50 Yann E. MORIN
  2012-10-18 19:50 ` [PATCH 1/3] kconfig: remove CONFIG_ from string constants Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yann E. MORIN @ 2012-10-18 19:50 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek, linux-kernel

Hello All!

This little patch series allows one to override the CONFIG_ prefix at 
runtime, without the need to rebuild the frontends.

This will be useful to have, to share the same kconfig frontends between
different projects that may use different prefix. For example:
  - busybox and uClibc use the standard 'CONFIG_'
  - crosstool-NG uses 'CT_'
  - PTXdist uses 'PTXCONF_'
  - buildroot does not use a prefix at all
  - and so on...

    [PATCH 1/3] kconfig: remove CONFIG_ from string constants
    [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix
    [PATCH 3/3] kconfig: get CONFIG_ prefix from environment

This is part of my efforts to get a generic package that encapsulates the
kconfig frontends and parser into a standalone package, to make it easy
for third-party projects to easily sync (and ultimately share) their
kconfig infrastructure:
    kconfig-frontends
    http://ymorin.is-a-geek.org/projects/kconfig-frontends

Changes this v1:
  - call getenv() only once
  - don't touch code when not strictly neeeded (don't fold not-so-long lines)
  - rebase on-top 3.7-rc1

Regards,
Yann E. MORIN.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/3 v3] kconfig: get the CONFIG_ prefix from the environment
@ 2012-10-19 23:06 Yann E. MORIN
  2012-10-19 23:06 ` [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix Yann E. MORIN
  0 siblings, 1 reply; 8+ messages in thread
From: Yann E. MORIN @ 2012-10-19 23:06 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek, linux-kernel

Hello All!

This little patch series allows one to override the CONFIG_ prefix at 
runtime, without the need to rebuild the frontends.

This will be useful to have, to share the same kconfig frontends between
different projects that may use different prefix. For example:
  - busybox and uClibc use the standard 'CONFIG_'
  - crosstool-NG uses 'CT_'
  - PTXdist uses 'PTXCONF_'
  - buildroot does not use a prefix at all
  - and so on...

    [PATCH 1/3] kconfig: remove CONFIG_ from string constants
    [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix
    [PATCH 3/3] kconfig: get CONFIG_ prefix from environment

This is part of my efforts to get a generic package that encapsulates the
kconfig frontends and parser into a standalone package, to make it easy
for third-party projects to easily sync (and ultimately share) their
kconfig infrastructure:
    kconfig-frontends
    http://ymorin.is-a-geek.org/projects/kconfig-frontends

Changes in v3:
  - simplify the CONFIG_prefix() function (Michal)
  - rebase on-top master to date
Changes in v2:
  - call getenv() only once
  - don't touch code when not strictly neeeded (don't fold not-so-long lines)
  - rebase on-top 3.7-rc1

Regards,
Yann E. MORIN.


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATH 0/3] kcofnig: get the CONFIG_ prefix from the environment
@ 2012-10-09 22:46 Yann E. MORIN
  2012-10-09 22:46 ` [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix Yann E. MORIN
  0 siblings, 1 reply; 8+ messages in thread
From: Yann E. MORIN @ 2012-10-09 22:46 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Hello All!

This little patch series allows one to override the CONFIG_ prefix at 
runtime, without the need to rebuild the frontends.

This will be useful to have, to share the same kconfig frontends between
different projects that may use different prefix. For example:
  - busybox and uClibc use the standard 'CONFIG_'
  - crosstool-NG uses 'CT_'
  - PTXdist uses 'PTXCONF_'
  - buildroot does not use a prefix at all
  - and so on...

    [PATCH 1/3] kconfig: remove CONFIG_ from string constants
    [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix
    [PATCH 3/3] kconfig: get CONFIG_ prefix from environment

This is part of my efforts to get a generic package that encapsulates the
kconfig frontends and parser into a standalone package, to make it easy
for third-party projects to easily sync (and ultimately share) their
kconfig infrastructure:
    kconfig-frontends
    http://ymorin.is-a-geek.org/projects/kconfig-frontends

Regards,
Yann E. MORIN.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-19 23:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-18 19:50 [PATCH 0/3 v2] kconfig: get the CONFIG_ prefix from the environment Yann E. MORIN
2012-10-18 19:50 ` [PATCH 1/3] kconfig: remove CONFIG_ from string constants Yann E. MORIN
2012-10-18 19:50 ` [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix Yann E. MORIN
2012-10-19 17:01   ` Michal Marek
2012-10-19 17:59     ` Yann E. MORIN
2012-10-18 19:50 ` [PATCH 3/3] kconfig: get CONFIG_ prefix from the environment Yann E. MORIN
  -- strict thread matches above, loose matches on Subject: below --
2012-10-19 23:06 [PATCH 0/3 v3] kconfig: get the " Yann E. MORIN
2012-10-19 23:06 ` [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix Yann E. MORIN
2012-10-09 22:46 [PATH 0/3] kcofnig: get the CONFIG_ prefix from the environment Yann E. MORIN
2012-10-09 22:46 ` [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.