X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2FMakefile.am;h=bf80c64c021aa9ef4e261751ff31a5ec057f9147;hp=537c8c31754900779ac2bb2cd16b6bdad6c280f9;hb=e77b7447f7b30d70961e5bee45400f70baeb16fc;hpb=838cd58e24a18102b8a140df9fa993fe65706828 diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 537c8c3175..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,9 +34,13 @@ libtarget_la_SOURCES = \ $(ARM_MISC_SRC) \ $(AVR32_SRC) \ $(MIPS32_SRC) \ + $(NDS32_SRC) \ + $(INTEL_IA32_SRC) \ avrt.c \ dsp563xx.c \ - dsp563xx_once.c + dsp563xx_once.c \ + dsp5680xx.c \ + hla_target.c TARGET_CORE_SRC = \ algorithm.c \ @@ -42,7 +49,8 @@ TARGET_CORE_SRC = \ breakpoints.c \ target.c \ target_request.c \ - testee.c + testee.c \ + smp.c ARMV4_5_SRC = \ armv4_5.c \ @@ -71,9 +79,9 @@ ARMV6_SRC = \ ARMV7_SRC = \ armv7m.c \ - cortex_m3.c \ + cortex_m.c \ armv7a.c \ - cortex_a8.c + cortex_a.c ARM_DEBUG_SRC = \ arm_dpm.c \ @@ -82,8 +90,9 @@ ARM_DEBUG_SRC = \ arm_simulator.c \ arm_semihosting.c \ arm_adi_v5.c \ - adi_v5_jtag.c \ + adi_v5_jtag.c \ adi_v5_swd.c \ + adi_v5_cmsis_dap.c \ embeddedice.c \ trace.c \ etb.c \ @@ -104,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 \ @@ -133,9 +158,10 @@ noinst_HEADERS = \ avrt.h \ dsp563xx.h \ dsp563xx_once.h \ + dsp5680xx.h \ breakpoints.h \ - cortex_m3.h \ - cortex_a8.h \ + cortex_m.h \ + cortex_a.h \ embeddedice.h \ etb.h \ etm.h \ @@ -154,9 +180,27 @@ noinst_HEADERS = \ target_request.h \ trace.h \ xscale.h \ - xscale_debug.h - -nobase_dist_pkglib_DATA = -nobase_dist_pkglib_DATA += ecos/at91eb40a.elf + smp.h \ + avr32_ap7k.h \ + avr32_jtag.h \ + avr32_mem.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 = MAINTAINERCLEANFILES = $(srcdir)/Makefile.in