summarylogtreecommitdiffstats
path: root/version.patch
blob: e43d9e36cb4c831fa656501cd0338e8e245041c5 (plain)
1
2
3
4
5
6
7
8
9
10
diff --git a/Makefile b/Makefile
index 3752327..7083319 100644
--- a/Makefile
+++ b/Makefile
@@ -22,3 +22,5 @@ install:
 clean:
 	rm -f version.h
 	make -C $(KERNEL_DIR) M=$(PWD) clean
+version:
+	@printf '#define GIT_COMMIT\t"%s"\n' $(GIT_COMMIT) > version.h