mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-24 17:28:32 +03:00
Build only 'reasonable' combinations of APP/MEMORY
There's no point in building a DFU loeader that is to be flashed via DFU - nor is there really any need for regular cardem/trace that can be flahsed directly without DFU. If anyone needs those, they can still build them - but let's not confuse the average other user. Change-Id: I0abe86c6a942a59e5b2417d0532dffae654d7a18 Closes: OS#4087
This commit is contained in:
@@ -37,12 +37,14 @@ GIT_VERSION=$(shell $(TOP)/git-version-gen $(TOP)/.tarvers)
|
|||||||
# (can be overriden by adding CHIP=chip and BOARD=board to the command-line)
|
# (can be overriden by adding CHIP=chip and BOARD=board to the command-line)
|
||||||
CHIP ?= sam3s4
|
CHIP ?= sam3s4
|
||||||
BOARD ?= qmod
|
BOARD ?= qmod
|
||||||
|
APP ?= dfu
|
||||||
|
|
||||||
# Defines which are the available memory targets for the SAM3S-EK board.
|
# Defines which are the available memory targets for the SAM3S-EK board.
|
||||||
MEMORIES ?= flash dfu
|
ifeq ($(APP), dfu)
|
||||||
|
MEMORIES ?= flash
|
||||||
# Output file basename
|
else
|
||||||
APP ?= dfu
|
MEMORIES ?= dfu
|
||||||
|
endif
|
||||||
|
|
||||||
# Output directories and filename
|
# Output directories and filename
|
||||||
OUTPUT = $(BOARD)-$(APP)
|
OUTPUT = $(BOARD)-$(APP)
|
||||||
|
|||||||
Reference in New Issue
Block a user