]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tag our seabios builds
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Jun 2015 07:24:55 +0000 (09:24 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Jun 2015 07:24:55 +0000 (09:24 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
roms/Makefile

index c76cd5b6d2f041ab1dd783b8f8552138e80a8347..7b3f156321c55e43c1f5b48e3a0b1fd4bb701f57 100644 (file)
@@ -34,6 +34,9 @@ powerpc64_cross_prefix := $(call find-cross-prefix,powerpc64)
 powerpc_cross_prefix := $(call find-cross-prefix,powerpc)
 x86_64_cross_prefix := $(call find-cross-prefix,x86_64)
 
+# tag our seabios builds
+SEABIOS_VERSION="$(shell cd seabios; git describe --tags --long) by qemu-project.org"
+
 #
 # EfiRom utility is shipped with edk2 / tianocore, in BaseTools/
 #
@@ -75,10 +78,12 @@ build-seabios-config-%: config.%
        mkdir -p seabios/builds/$*
        cp $< seabios/builds/$*/.config
        $(MAKE) -C seabios \
+               VERSION=$(SEABIOS_VERSION) \
                CROSS_COMPILE=$(x86_64_cross_prefix) \
                KCONFIG_CONFIG=$(CURDIR)/seabios/builds/$*/.config \
                OUT=$(CURDIR)/seabios/builds/$*/ oldnoconfig
        $(MAKE) -C seabios \
+               VERSION=$(SEABIOS_VERSION) \
                CROSS_COMPILE=$(x86_64_cross_prefix) \
                KCONFIG_CONFIG=$(CURDIR)/seabios/builds/$*/.config \
                OUT=$(CURDIR)/seabios/builds/$*/ all