mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
firmware: name binaries including their git version number
Change-Id: I4309810368ce4e8e13ede974b67e69ca3f0a6f53 Closes: OS#3452
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user