diff options
author | tmk <nobody@nowhere> | 2013-09-11 13:44:54 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-09-11 13:44:54 +0900 |
commit | 8bc96ac57174692b7604ddc65e22dea6ddb1824b (patch) | |
tree | 89ea2e09d72d0634fc3201cfdd7b7a85a314e06c /common.mk | |
parent | f7395268c0826d00f2d32db8abb9eba7e3159a75 (diff) |
Add version string
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -69,5 +69,9 @@ ifdef BACKLIGHT_ENABLE endif +# Version string +OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null) + + # Search Path VPATH += $(TOP_DIR)/common |