Makefile: Indicate high level SWD/JTAG implemenatation.

This commit is contained in:
Uwe Bonnes 2019-03-05 15:01:38 +01:00
parent 3b75cb9a5a
commit 5aebef4f64
1 changed files with 9 additions and 5 deletions

View File

@ -34,9 +34,6 @@ SRC = \
gdb_hostio.c \
gdb_packet.c \
hex_utils.c \
jtag_scan.c \
jtagtap.c \
jtagtap_generic.c \
lmi.c \
lpc_common.c \
lpc11xx.c \
@ -58,15 +55,22 @@ SRC = \
stm32h7.c \
stm32l0.c \
stm32l4.c \
swdptap.c \
swdptap_generic.c \
target.c \
include $(PLATFORM_DIR)/Makefile.inc
ifndef TARGET
TARGET=blackmagic
endif
ifndef SWD_HL
SRC += swdptap.c swdptap_generic.c
endif
ifndef JTAG_HL
SRC += jtag_scan.c jtagtap.c jtagtap_generic.c
endif
OBJ = $(SRC:.c=.o)
$(TARGET): include/version.h $(OBJ)