]> git.dujemihanovic.xyz Git - nameless-os.git/blobdiff - Makefile
Merge branch 'drive'
[nameless-os.git] / Makefile
index 8ffcdf86123bb9b1acee0fe0ab3746d4d339cfbb..aee8cc187a36d118823f8b1e66abedbbd4a99d87 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ export AS = yasm
 export CC = i686-elf-gcc
 QEMU = qemu-system-i386 -monitor stdio
 
-GIT_REV = $(shell git rev-parse --short HEAD)
+export GIT_REV = $(shell git describe --long HEAD)
 
 CFLAGS = -std=gnu89 -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\"