From: Wolfgang Denk Date: Wed, 28 Jan 2009 21:33:11 +0100 Subject: [U-Boot] [PATCH 27/31] 8xx, mgsuvd: rename board to a more generic name In-Reply-To: <4980281E.2040504@denx.de> References: <4980281E.2040504@denx.de> Message-ID: <20090128203311.AAACC832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko Schocher, In message <4980281E.2040504@denx.de> you wrote: > renaming the "mgsuvd" board port into "km8xx", because there will > come more similar boards from keymile. > Compiling the mgsuvd board with "make mgsuvd_config" remains. > > Signed-off-by: Heiko Schocher > --- > Makefile | 8 ++++++-- > board/keymile/{mgsuvd => km8xx}/Makefile | 2 +- > board/keymile/{mgsuvd => km8xx}/config.mk | 0 > board/keymile/{mgsuvd/mgsuvd.c => km8xx/km8xx.c} | 0 > .../mgsuvd_hdlc_enet.c => km8xx/km8xx_hdlc_enet.c} | 0 > board/keymile/{mgsuvd => km8xx}/u-boot.lds | 0 > include/configs/{mgsuvd.h => km8xx.h} | 1 - > 7 files changed, 7 insertions(+), 4 deletions(-) > rename board/keymile/{mgsuvd => km8xx}/Makefile (98%) > rename board/keymile/{mgsuvd => km8xx}/config.mk (100%) > rename board/keymile/{mgsuvd/mgsuvd.c => km8xx/km8xx.c} (100%) > rename board/keymile/{mgsuvd/mgsuvd_hdlc_enet.c => km8xx/km8xx_hdlc_enet.c} (100%) > rename board/keymile/{mgsuvd => km8xx}/u-boot.lds (100%) > rename include/configs/{mgsuvd.h => km8xx.h} (99%) > > diff --git a/Makefile b/Makefile > index 8c73586..70d60b5 100644 > --- a/Makefile > +++ b/Makefile > @@ -938,8 +938,12 @@ MBX860T_config: unconfig > @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx > > mgsuvd_config: unconfig > - @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd keymile > - > + @mkdir -p $(obj)include > + @{ echo "#define CONFIG_MGSUVD" >>$(obj)include/config.h ; \ > + $(XECHO) "mgsuvd configuration" ; \ > + } > + @$(MKCONFIG) -a km8xx ppc mpc8xx km8xx keymile You don't intend to add more such long Makefile entries then, when more such boards are coming, or do you? Please keep the Makefile as small as possible - I don't like so see one line of text exploding into 5 - and this for N boards. 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 "355/113 -- Not the famous irrational number PI, but an incredible simulation!"