aboutsummaryrefslogtreecommitdiff
path: root/roms/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-06-17 09:24:55 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-06-17 09:24:55 +0200
commit7edf2f0ec4edbde50be3b54306adf5b8b16ca68b (patch)
tree3b8b476d506ad1f551565e86997bde83f30b1ddd /roms/Makefile
parent10500ce26069b7c4746e8a2276aa03220a29581c (diff)
downloadqemu-7edf2f0ec4edbde50be3b54306adf5b8b16ca68b.zip
qemu-7edf2f0ec4edbde50be3b54306adf5b8b16ca68b.tar.gz
qemu-7edf2f0ec4edbde50be3b54306adf5b8b16ca68b.tar.bz2
tag our seabios builds
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'roms/Makefile')
-rw-r--r--roms/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/roms/Makefile b/roms/Makefile
index c76cd5b..7b3f156 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -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