[U-Boot] [PATCH v2 2/5] mkconfig: change CONFIG_MK_ prefix into plain CONFIG_

Wolfgang Denk wd at denx.de
Mon Oct 18 22:02:02 CEST 2010


In message <1287273462-14872-3-git-send-email-wd at denx.de> I wrote:
> When planning for more generalization and Makefile cleanup it became
> obvious that the introduction of a separate CONFIG_MK_ name space for
> config options that were set through scripting in the Makefile was
> not a good idea.
> 
> Originally the idea was to provide a script-free approach to supply
> configuration options - there was no real need for a separate name
> space. But when we now convert the existing Makefile entries to make
> use of this approach, it would mean that we have to touch a large
> number of board config files and add #ifdef / #define sequences to
> "convert" from the CONFIG_MK_ to the CONFIG_ name space.
> 
> It seems much cleaner to get rid of this somewhat arbitrary _MK
> string now for the few boards that actually use it.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/bf527-ezkit/video.c             |   10 +++++-----
>  board/freescale/mpc8315erdb/config.mk |    2 +-
>  board/freescale/mpc8536ds/config.mk   |    6 +++---
>  board/freescale/mpc8569mds/config.mk  |    2 +-
>  board/freescale/p1_p2_rdb/config.mk   |    6 +++---
>  include/configs/MPC8315ERDB.h         |    2 +-
>  include/configs/MPC8536DS.h           |    8 ++++----
>  include/configs/MPC8569MDS.h          |    4 ++--
>  include/configs/MPC8572DS.h           |    2 +-
>  include/configs/P1_P2_RDB.h           |   14 +++++++-------
>  include/configs/P2020DS.h             |    4 ++--
>  include/configs/SBC8540.h             |    2 +-
>  include/configs/astro_mcf5373l.h      |    4 ++--
>  include/configs/bf527-ezkit.h         |    2 +-
>  include/configs/edb93xx.h             |   16 ++++++++--------
>  include/configs/sbc8349.h             |    8 ++------
>  include/configs/sbc8548.h             |    9 ++++-----
>  include/configs/sbc8560.h             |    2 +-
>  include/configs/spear3xx.h            |    6 +++---
>  include/configs/vme8349.h             |    2 +-
>  mkconfig                              |    2 +-
>  21 files changed, 54 insertions(+), 59 deletions(-)

Applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"In the long run, every program becomes rococo, and then rubble."
- Alan Perlis


More information about the U-Boot mailing list