u-boot/tools
Kyle Moffett a7b3918533 tools/setlocalversion: Update from the Linux Kernel
Several bugfixes have occurred upstream since this script was imported
into U-Boot.  In particular, the script currently in U-Boot does not
describe commit f8bbb4dad0 correctly,
resulting in a version of "2011.09" instead of "2011.09-01460-gf8bbb4d".

With that commit checked out, the command "git name-rev --tags HEAD"
gives this result:
  HEAD tags/v2011.12-rc1~30^2

Then the "changes" regex does not match because of the trailing '^2':
  grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$'

The new version of tools/setlocalversion in the kernel correctly handles
those situations by using different plumbing commands.

The version from the kernel is not directly usable as it does not append
the full GIT version that U-Boot expects unless the right config options
are set (CONFIG_LOCALVERSION_AUTO=y).  Other than a few minor changes
for Kconfig, the imported version is very similar to Linux v3.2-rc4.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
2011-12-17 20:58:48 +01:00
..
bddb Update Hymod Board Database PHP code in "tools" directory 2005-08-12 23:27:18 +02:00
easylogo easylogo: add support for 16-bit RGB565 2010-01-18 00:21:05 +01:00
env tools/env: use lib/crc32.c directly 2011-11-22 08:49:21 +01:00
gdb makefiles: fixes for building build tools 2009-12-02 22:58:46 +01:00
imls tools/imls: fix comment in Makefile 2010-10-12 21:49:28 +02:00
logos digsy_mtc: move board into vendor dir and add vendor logo 2011-07-27 23:27:07 +02:00
omap omap: Improve PLL parameter calculation tool 2011-12-06 23:59:34 +01:00
scripts make-asm-offsets: fix sed script 2010-10-27 20:16:52 +02:00
updater cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
.gitignore ignore new mkenvimage tool 2011-11-27 15:44:41 +01:00
aisimage.c Fix tsize warning in tools/aisimage.c 2011-12-05 23:05:04 +01:00
aisimage.h mkimage: adding support for Davinci AIS image 2011-10-23 23:34:21 +02:00
bin2header.c Add 'license' command to U-Boot command line 2008-08-18 23:21:49 +02:00
bmp_logo.c tools: logo: split bmp arrays from bmp_logo.h 2011-11-15 23:58:26 +01:00
checkpatch.pl tools: checkpatch.pl from Linux added to tools 2011-11-17 14:27:11 +01:00
default_image.c image: Implement IH_TYPE_KERNEL_NOLOAD 2011-12-01 09:45:35 +01:00
envcrc.c tools/envcrc: fix compile breakage 2011-12-06 22:11:25 +01:00
fdt_host.h [new uImage] Add libfdt support to mkimage 2008-02-29 16:00:24 +01:00
fit_image.c tools/fit_image.c: Remove unused fit_set_header() 2009-12-05 01:12:45 +01:00
gen_eth_addr.c gen_eth_addr: Use POSIX rand() and srand() 2009-04-04 01:09:56 +02:00
getline.c getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
getline.h getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
img2brec.sh Fix file permissions 2005-07-21 11:22:21 +02:00
img2srec.c img2srec: use standard types 2009-11-24 23:43:18 +01:00
imximage.c imximage: Add MX53 boot image support 2011-02-02 00:54:42 +01:00
imximage.h Drop config.h include in tools/imximage.h 2011-04-12 22:58:31 +02:00
jtagconsole Blackfin: jtagconsole: disable output processing 2010-07-25 15:17:23 -04:00
kwbimage.c kwbimage: Fix check variable of checksum 2011-05-12 23:53:41 +02:00
kwbimage.h mkimage: Add Kirkwood Boot Image support (kwbimage) 2009-09-10 22:58:48 +02:00
Makefile new tool mkenvimage: generates an env image from an arbitrary config file 2011-11-22 08:39:24 +01:00
mingw_support.c getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
mingw_support.h getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
mkenvimage.c new tool mkenvimage: generates an env image from an arbitrary config file 2011-11-22 08:39:24 +01:00
mkimage.c mkimage: adding support for Davinci AIS image 2011-10-23 23:34:21 +02:00
mkimage.h mkimage: adding support for Davinci AIS image 2011-10-23 23:34:21 +02:00
mpc86x_clk.c * Patch by Anders Larsen, 18 Sep 2003: 2003-10-08 22:14:02 +00:00
mxsboot.c iMX28: Add image header generator tool 2011-11-11 11:36:57 +01:00
ncb.c ncb: Check return value of write() 2009-04-28 01:16:46 +02:00
netconsole tools/netconsole: use ncb automatically if available 2009-09-15 22:55:45 +02:00
omapimage.c mkimage: Fix 'Unknown OMAP image type - 5' 2011-09-04 11:34:00 +02:00
omapimage.h mkimage: Add OMAP boot image support 2011-08-03 12:49:20 +02:00
os_support.c tools/os_support: add OS X Lion support 2011-12-02 10:56:21 +01:00
os_support.h tools/os_support: add OS X Lion support 2011-12-02 10:56:21 +01:00
setlocalversion tools/setlocalversion: Update from the Linux Kernel 2011-12-17 20:58:48 +01:00
ublimage.c mkimage: ublimage must return if the header is not verified 2011-10-05 22:03:11 +02:00
ublimage.h arm, davinci: add cam_enc_4xx support 2011-11-03 22:56:25 +01:00
ubsha1.c ubsha1: drop unnecessary includes/prototypes 2010-01-21 22:59:29 +01:00
xway-swap-bytes.c MIPS: INCA-IP: rename inca-swap-bytes host tool 2011-07-31 23:25:41 +09:00