Makefile: Indicate high level SWD/JTAG implemenatation.
This commit is contained in:
parent
3b75cb9a5a
commit
5aebef4f64
14
src/Makefile
14
src/Makefile
|
@ -34,9 +34,6 @@ SRC = \
|
||||||
gdb_hostio.c \
|
gdb_hostio.c \
|
||||||
gdb_packet.c \
|
gdb_packet.c \
|
||||||
hex_utils.c \
|
hex_utils.c \
|
||||||
jtag_scan.c \
|
|
||||||
jtagtap.c \
|
|
||||||
jtagtap_generic.c \
|
|
||||||
lmi.c \
|
lmi.c \
|
||||||
lpc_common.c \
|
lpc_common.c \
|
||||||
lpc11xx.c \
|
lpc11xx.c \
|
||||||
|
@ -58,15 +55,22 @@ SRC = \
|
||||||
stm32h7.c \
|
stm32h7.c \
|
||||||
stm32l0.c \
|
stm32l0.c \
|
||||||
stm32l4.c \
|
stm32l4.c \
|
||||||
swdptap.c \
|
|
||||||
swdptap_generic.c \
|
|
||||||
target.c \
|
target.c \
|
||||||
|
|
||||||
include $(PLATFORM_DIR)/Makefile.inc
|
include $(PLATFORM_DIR)/Makefile.inc
|
||||||
|
|
||||||
ifndef TARGET
|
ifndef TARGET
|
||||||
TARGET=blackmagic
|
TARGET=blackmagic
|
||||||
endif
|
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)
|
OBJ = $(SRC:.c=.o)
|
||||||
|
|
||||||
$(TARGET): include/version.h $(OBJ)
|
$(TARGET): include/version.h $(OBJ)
|
||||||
|
|
Loading…
Reference in New Issue