From 3da8e987df7c77b8ca35a07c3bc4dcda73bdefa0 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 11 Oct 2020 13:42:17 +0700 Subject: [PATCH] use shell cmd instead of assignment --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 972f097..bf683eb 100644 --- a/Makefile +++ b/Makefile @@ -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