From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albin Tonnerre Date: Thu, 20 Aug 2009 15:43:27 +0200 Subject: [U-Boot] [PATCH] Support for the Calao TNY-A9260/TNY-A9G20 boards In-Reply-To: <20090819213005.GA17065@game.jcrosoft.org> References: <20090817214106.GD23695@game.jcrosoft.org> <1250709264-32352-1-git-send-email-albin.tonnerre@free-electrons.com> <20090819213005.GA17065@game.jcrosoft.org> Message-ID: <20090820134327.GD5086@pc-ras4041.res.insa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Thanks for your comments, -- Albin Tonnerre, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20090820/cdbc4a08/attachment.pgp