X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon.mk;h=e165a78b9b8152b72405c924c1d3ecbf86ba5b52;hb=6edd0fff3727525fe6d61d9d6d605d1759a3e1c3;hp=3b53c0a046764e6b50c120c03c03c2451a3ab417;hpb=fb1fb122a5971723f374cd737b7cc0aefd470af3;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common.mk b/tmk_core/common.mk index 3b53c0a0..e165a78b 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -81,7 +81,8 @@ ifdef KEYMAP_SECTION_ENABLE endif # Version string -OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) +VERSION := $(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) +OPT_DEFS += -DVERSION=$(VERSION) # Search Path