From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 20 Aug 2009 16:44:08 +0200 Subject: [U-Boot] [PATCH] Support for the Calao TNY-A9260/TNY-A9G20 boards In-Reply-To: <20090820134327.GD5086@pc-ras4041.res.insa> References: <20090817214106.GD23695@game.jcrosoft.org> <1250709264-32352-1-git-send-email-albin.tonnerre@free-electrons.com> <20090819213005.GA17065@game.jcrosoft.org> <20090820134327.GD5086@pc-ras4041.res.insa> Message-ID: <20090820144408.GV8470@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15:43 Thu 20 Aug , Albin Tonnerre wrote: > On Wed, Aug 19, 2009 at 11:30:05PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote : > > On 21:14 Wed 19 Aug , Albin Tonnerre wrote: > > > diff --git a/MAKEALL b/MAKEALL > > > index edebaea..5882ceb 100755 > > > --- a/MAKEALL > > > +++ b/MAKEALL > > > @@ -607,6 +607,7 @@ LIST_at91=" \ > > > m501sk \ > > > pm9261 \ > > > pm9263 \ > > > + tny_a9260 \ > > why not 9g20 too? > > Oops. Thanks. > > > > ######################################################################### > > > diff --git a/Makefile b/Makefile > > > index 329e0f5..2abaeeb 100644 > > > --- a/Makefile > > > +++ b/Makefile > > > @@ -2838,6 +2838,16 @@ at91sam9g45ekes_config : unconfig > > > pm9263_config : unconfig > > > @$(MKCONFIG) $(@:_config=) arm arm926ejs pm9263 ronetix at91 > > > > > > +TNY_A9G20_NANDFLASH_config \ > > > +TNY_A9G20_EEPROM_config \ > > > +TNY_A9G20_config \ > > > +TNY_A9260_NANDFLASH_config \ > > > +TNY_A9260_EEPROM_config \ > > > +TNY_A9260_config : unconfig > > > + @mkdir -p $(obj)include > > > + @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h > > try somethink like this so you do not need to put the config name uppercase > > @echo -n "#define " >$(obj)include/config.h > > @echo "$(@:_config=)" | tr [a-z] [A-Z] >> $(obj)include/config.h > > I think I'll go with uppercase. If the shell ends up being /bin/sh, it might not > provide the '-n' switch for echo, so I'd rather avoid it when possible. you can use \c too but as you prefer Best Regards, J.