Make GIT_REVISION value available within code.

Addresses issue #59.
No idea what it'll do if the commit is also tagged as a release...
This commit is contained in:
Jared Boone
2015-08-25 16:33:52 -07:00
parent 4fe145b61d
commit 98773cb62a
5 changed files with 10 additions and 7 deletions

View File

@@ -39,6 +39,7 @@ COPT=-std=gnu99 \
-Wall -Wextra -Wstrict-prototypes \
$(CPUFLAGS) \
-DLPC43XX -DLPC43XX_M4 \
-DGIT_REVISION=\"$(GIT_REVISION)\" \
-Os \
-ffunction-sections \
-fdata-sections \