summaryrefslogtreecommitdiff
path: root/payloads/external/SeaBIOS/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/SeaBIOS/Makefile.inc')
-rw-r--r--payloads/external/SeaBIOS/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc
index 4d2367ee10..087b723840 100644
--- a/payloads/external/SeaBIOS/Makefile.inc
+++ b/payloads/external/SeaBIOS/Makefile.inc
@@ -47,6 +47,9 @@ endif
build: config
echo " MAKE SeaBIOS $(TAG-y)"
+ export VERSION=$$(cd seabios && \
+ git describe --tags --long --dirty 2>/dev/null || \
+ echo "unknown") ; \
$(MAKE) -C seabios OUT=out/
clean: