mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-08 06:18:22 +01:00
Append the shortened git revision to the u-boot version
This add the first 7 characters of the git sha-1 to the compiled in u-boot version. With this change the serial console displays the following version information: U-Boot 2014.04-gee425f9 (Oct 01 2014 - 22:20:35) Allwinner Technology Without the version looks like this: U-Boot 2014.04 (Oct 01 2014 - 21:55:57) Allwinner Technology Signed-off-by: Christian Ege <k4230r6@gmail.com>
This commit is contained in:
parent
998cbf3544
commit
62d877b9e9
@ -14,3 +14,5 @@ IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
||||
|
||||
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
|
Loading…
Reference in New Issue
Block a user