summaryrefslogtreecommitdiff
path: root/lora_pkt_fwd/Makefile
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2019-10-03 14:28:42 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2019-10-03 14:28:42 -0500
commitfcfec5c972253795de33e5243fe3294d20588d59 (patch)
tree152df643a1f6b184fb814aa1675ddef170928a1a /lora_pkt_fwd/Makefile
parentc224e6e47cab24e39554765cafb3b21b302df40b (diff)
downloadpacket_forwarder_mtac_full-fcfec5c972253795de33e5243fe3294d20588d59.tar.gz
packet_forwarder_mtac_full-fcfec5c972253795de33e5243fe3294d20588d59.tar.bz2
packet_forwarder_mtac_full-fcfec5c972253795de33e5243fe3294d20588d59.zip
Changed version string to based on just git describe
Diffstat (limited to 'lora_pkt_fwd/Makefile')
-rw-r--r--lora_pkt_fwd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lora_pkt_fwd/Makefile b/lora_pkt_fwd/Makefile
index 069fc0a..7e8b63c 100644
--- a/lora_pkt_fwd/Makefile
+++ b/lora_pkt_fwd/Makefile
@@ -15,15 +15,14 @@ INCLUDES = $(wildcard inc/*.h)
# must get library build option to know if mpsse must be linked or not
include $(LGW_PATH)/library.cfg
-RELEASE_VERSION := $(shell git describe)
-RELEASE_COMMIT := $(shell git rev-parse --short HEAD)
+VERSION_STRING := $(shell git describe)
### Constant symbols
CC := $(CROSS_COMPILE)gcc
AR := $(CROSS_COMPILE)ar
MORECFLAGS := -Wall -Wextra -std=c99 -Iinc -I. -isystem =/usr/include/gps
-VFLAG := -D VERSION_STRING="\"$(RELEASE_VERSION)-$(RELEASE_COMMIT)\""
+VFLAG := -D VERSION_STRING="\"$(VERSION_STRING)\""
### Constants for Lora concentrator HAL library
# List the library sub-modules that are used by the application