mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-22 16:28:32 +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
|
# Makefile for compiling the Getting Started with SAM3S Microcontrollers project
|
||||||
|
|
||||||
|
GIT_VERSION=$(shell $(TOP)/git-version-gen $(TOP)/.tarvers)
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# User-modifiable options
|
# User-modifiable options
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
@@ -44,7 +45,7 @@ MEMORIES ?= flash dfu
|
|||||||
APP ?= dfu
|
APP ?= dfu
|
||||||
|
|
||||||
# Output directories
|
# Output directories
|
||||||
OUTPUT = $(BOARD)-$(APP)
|
OUTPUT = $(BOARD)-$(APP)-$(GIT_VERSION)
|
||||||
BIN = bin
|
BIN = bin
|
||||||
OBJ = obj/$(BOARD)
|
OBJ = obj/$(BOARD)
|
||||||
|
|
||||||
@@ -73,7 +74,6 @@ GDB = $(CROSS_COMPILE)gdb
|
|||||||
NM = $(CROSS_COMPILE)nm
|
NM = $(CROSS_COMPILE)nm
|
||||||
|
|
||||||
TOP=..
|
TOP=..
|
||||||
GIT_VERSION=$(shell $(TOP)/git-version-gen $(TOP)/.tarvers)
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Files
|
# Files
|
||||||
|
|||||||
Reference in New Issue
Block a user