Add version string
This commit is contained in:
parent
f7395268c0
commit
8bc96ac571
2 changed files with 8 additions and 3 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue