[U-Boot] [PATCH] km/common: add toolchain variable
Holger Brunck
holger.brunck at keymile.com
Mon Dec 19 13:58:52 CET 2011
Hi Wolfgang,
On 12/19/2011 12:33 PM, Wolfgang Denk wrote:
> 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 - )
>
hm together with the needed git configuration IMO a bit to complicated for my
needs. To be honest I would like to keep this date information as it is.
If this is not acceptable then I will remove this string completely from the
u-boot tree and force the users to add a VERSION file to /tftpboot/scripts with:
$ git describe > /tftpboot/scripts/VERSION
or I keep it as a OOT patch. Just let me know.
Best regards
Holger
More information about the U-Boot
mailing list