[U-Boot] [PATCH] km/common: add toolchain variable

Wolfgang Denk wd at denx.de
Mon Dec 19 12:33:38 CET 2011


Dear Holger Brunck,

In message <4EEF13D4.5020304 at keymile.com> you wrote:
>
> > You can insert such information when you export the files from git,
> > say by adding a line like:
> > 
> > 	Last commit date: $Format:%H  %cD$
...
> After reading the doc I don't know how it could be used in my usecase. Please
> correct me if I am wrong, but this does only work in combination with the "git
> archive" command. And I don't want to do an archive, I want to export/copy some
> files out of the git tree into /tftpboot.

You could for example use the following command to copy this file into
/tftpboot:

	$ cd board/keymile/scripts
	$ git archive --format=tar HEAD README | \
	  ( cd /tftpboot ; tar -xpvf - )


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 general, they do what you want, unless you want consistency.
                                    - Larry Wall in the perl man page


More information about the U-Boot mailing list