use shell cmd instead of assignment

This commit is contained in:
hathach
2020-10-11 13:42:17 +07:00
parent 093b0091b6
commit 3da8e987df
+1 -1
View File
@@ -22,7 +22,7 @@ MBR_HEX = lib/softdevice/mbr/hex/mbr_nrf52_2.4.1_mbr.hex
# linker by MCU eg. nrf52840.ld
LD_FILE = linker/$(MCU_SUB_VARIANT).ld
GIT_VERSION != git describe --dirty --always --tags
GIT_VERSION := $(shell git describe --dirty --always --tags)
GIT_SUBMODULE_VERSIONS != git submodule status | cut -d" " -f3,4 | paste -s -d" " -
# compiled file name