diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-06-20 18:31:28 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-06-20 18:31:28 +0200 |
commit | 155f57abcfda0c1a0be75f9501de129d39a77997 (patch) | |
tree | 50b98004e1f330af515cea89fd90e17c8b6c189a /firmware | |
parent | bc62335768ec7d786c811dc7b6575f795fc02d6d (diff) |
firmware: name binaries including their git version number
Change-Id: I4309810368ce4e8e13ede974b67e69ca3f0a6f53
Closes: OS#3452
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 0f70bf4..646d2f3 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -28,6 +28,7 @@ # Makefile for compiling the Getting Started with SAM3S Microcontrollers project +GIT_VERSION=$(shell $(TOP)/git-version-gen $(TOP)/.tarvers) #------------------------------------------------------------------------------- # User-modifiable options #------------------------------------------------------------------------------- @@ -44,7 +45,7 @@ MEMORIES ?= flash dfu APP ?= dfu # Output directories -OUTPUT = $(BOARD)-$(APP) +OUTPUT = $(BOARD)-$(APP)-$(GIT_VERSION) BIN = bin OBJ = obj/$(BOARD) @@ -73,7 +74,6 @@ GDB = $(CROSS_COMPILE)gdb NM = $(CROSS_COMPILE)nm TOP=.. -GIT_VERSION=$(shell $(TOP)/git-version-gen $(TOP)/.tarvers) #------------------------------------------------------------------------------- # Files |