From mboxrd@z Thu Jan 1 00:00:00 1970 From: Holger Brunck Date: Mon, 19 Dec 2011 13:58:52 +0100 Subject: [U-Boot] [PATCH] km/common: add toolchain variable In-Reply-To: <20111219113338.C14CB135A9A2@gemini.denx.de> References: <1323879110-8404-1-git-send-email-holger.brunck@keymile.com> <20111217204908.102C21ECC61@gemini.denx.de> <4EEEF0D3.5040302@keymile.com> <20111219085720.C3DF8135A9A2@gemini.denx.de> <4EEF13D4.5020304@keymile.com> <20111219113338.C14CB135A9A2@gemini.denx.de> Message-ID: <4EEF350C.4040501@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 12/19/2011 12:33 PM, Wolfgang Denk wrote: > In message <4EEF13D4.5020304@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