Merge tag 'v01.00.00.02' into develop
[tidl/tidl-api.git] / tidl_api / make.buildid
index 4137d81622926b40d7ca68673bd91e4186644717..5de94ef3779fc48f7526d2800f9c1c98effd5601 100644 (file)
@@ -27,6 +27,7 @@
 MAJOR_VER=1
 MINOR_VER=1
 PATCH_VER=0
+BUILD_VER=2
 
 ifeq ($(shell git rev-parse --short HEAD 2>&1 1>/dev/null; echo $$?),0)
 BUILD_SHA?=$(shell git rev-parse --short HEAD)
@@ -34,6 +35,6 @@ endif
 
 .PHONY: $(BUILD_ID)
 BUILD_ID := -D_BUILD_VER=$(shell echo "" | \
-                awk '{ printf ("%02d.%02d.%02d", $(MAJOR_VER), \
-                $(MINOR_VER), $(PATCH_VER)); }') \
+                awk '{ printf ("%02d.%02d.%02d.%02d", $(MAJOR_VER), \
+                $(MINOR_VER), $(PATCH_VER), $(BUILD_VER)); }') \
                        -D_BUILD_SHA=$(BUILD_SHA)