diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2006-02-21 17:33:04 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2006-02-21 17:33:04 +0100 |
commit | 881a87ecbab328656eb3e9d25c3ed6868587b197 (patch) | |
tree | 227aae7103facd49a8bb4e00c1f751b731faaf1f /include/version.h | |
parent | 654c2d2836ff49c94a0bceb700701976e2682375 (diff) | |
download | u-boot-imx-881a87ecbab328656eb3e9d25c3ed6868587b197.zip u-boot-imx-881a87ecbab328656eb3e9d25c3ed6868587b197.tar.gz u-boot-imx-881a87ecbab328656eb3e9d25c3ed6868587b197.tar.bz2 |
Add GIT version information (commid ID) to untagged U-Boot versions
As done in the linux kernel, the U-Boot version (U_BOOT_VERSION)
of all unreleased (untagged) U-Boot images will be automatically
extended upon compiletime with a part of the GIT commit ID and
possibly with "dirty" if uncommited changes are detected.
Here an example for the resulting version:
"U-Boot 1.1.4-g3457ac18-dirty"
The version is now maintained in the toplevel Makefile and the
version headers are autogenerated.
Patch by Stefan Roese, 9 Feb 2006
Diffstat (limited to 'include/version.h')
-rw-r--r-- | include/version.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/version.h b/include/version.h index 4f8b498..b56d2e9 100644 --- a/include/version.h +++ b/include/version.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000-2003 + * (C) Copyright 2000-2006 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this @@ -24,6 +24,6 @@ #ifndef __VERSION_H__ #define __VERSION_H__ -#define U_BOOT_VERSION "U-Boot 1.1.4" +#include "version_autogenerated.h" #endif /* __VERSION_H__ */ |