X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2FMakefile.am;h=bf80c64c021aa9ef4e261751ff31a5ec057f9147;hb=1d7176f50bc7d5971a82977ac2baa79eef521c21;hp=19100c721cdacd927def0dca3e31fc626a5f1f60;hpb=ed12a6521f2ad26ab7140d346bc10250cbf869e1;p=openocd.git diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 19100c721c..bf80c64c02 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -6,19 +6,22 @@ else OOCD_TRACE_FILES = endif -BIN2C = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD) +SUBDIRS = openrisc +libtarget_la_LIBADD = $(top_builddir)/src/target/openrisc/libopenrisc.la + +BIN2C = $(top_srcdir)/src/helper/bin2char.sh DEBUG_HANDLER = $(srcdir)/xscale/debug_handler.bin EXTRA_DIST = \ startup.tcl \ - $(DEBUG_HANDLER) + $(wildcard $(srcdir)/xscale/*) -DEBUG_HEADER = xscale_debug.h +DEBUG_HEADER = xscale_debug.inc BUILT_SOURCES = $(DEBUG_HEADER) CLEANFILES = $(DEBUG_HEADER) -$(DEBUG_HEADER): $(BIN2C) $(DEBUG_HANDLER) - $(BIN2C) < $(DEBUG_HANDLER) xscale_debug_handler > xscale_debug.h +$(DEBUG_HEADER): $(DEBUG_HANDLER) $(BIN2C) + $(BIN2C) < $< > $@ || { rm -f $@; false; } METASOURCES = AUTO noinst_LTLIBRARIES = libtarget.la @@ -31,11 +34,13 @@ libtarget_la_SOURCES = \ $(ARM_MISC_SRC) \ $(AVR32_SRC) \ $(MIPS32_SRC) \ + $(NDS32_SRC) \ + $(INTEL_IA32_SRC) \ avrt.c \ dsp563xx.c \ dsp563xx_once.c \ dsp5680xx.c \ - stm32_stlink.c + hla_target.c TARGET_CORE_SRC = \ algorithm.c \ @@ -87,6 +92,7 @@ ARM_DEBUG_SRC = \ arm_adi_v5.c \ adi_v5_jtag.c \ adi_v5_swd.c \ + adi_v5_cmsis_dap.c \ embeddedice.c \ trace.c \ etb.c \ @@ -107,6 +113,22 @@ MIPS32_SRC = \ mips32_dmaacc.c \ mips_ejtag.c +NDS32_SRC = \ + nds32.c \ + nds32_reg.c \ + nds32_cmd.c \ + nds32_disassembler.c \ + nds32_tlb.c \ + nds32_v2.c \ + nds32_v3_common.c \ + nds32_v3.c \ + nds32_v3m.c \ + nds32_aice.c + +INTEL_IA32_SRC = \ + quark_x10xx.c \ + lakemont.c \ + x86_32_common.c noinst_HEADERS = \ algorithm.h \ @@ -162,7 +184,21 @@ noinst_HEADERS = \ avr32_ap7k.h \ avr32_jtag.h \ avr32_mem.h \ - avr32_regs.h + avr32_regs.h \ + nds32.h \ + nds32_cmd.h \ + nds32_disassembler.h \ + nds32_edm.h \ + nds32_insn.h \ + nds32_reg.h \ + nds32_tlb.h \ + nds32_v2.h \ + nds32_v3_common.h \ + nds32_v3.h \ + nds32_v3m.h \ + nds32_aice.h \ + lakemont.h \ + x86_32_common.h ocddatadir = $(pkglibdir) nobase_dist_ocddata_DATA =