X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2FMakefile.am;h=2cec491e9bdf5994415f68aae4330976cd11d873;hp=8e9dfb6d21e38fadbe7760c3356a83ee3993ea54;hb=ef02b69b14d133b061217a91add5a028a77e86bc;hpb=ceb402dc9e903d2f3f6bc8125dfed9d82b83d2d1 diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 8e9dfb6d21..2cec491e9b 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 @@ -32,6 +35,7 @@ libtarget_la_SOURCES = \ $(AVR32_SRC) \ $(MIPS32_SRC) \ $(NDS32_SRC) \ + $(INTEL_IA32_SRC) \ avrt.c \ dsp563xx.c \ dsp563xx_once.c \ @@ -75,6 +79,7 @@ ARMV6_SRC = \ ARMV7_SRC = \ armv7m.c \ + armv7m_trace.c \ cortex_m.c \ armv7a.c \ cortex_a.c @@ -109,8 +114,21 @@ MIPS32_SRC = \ mips_ejtag.c NDS32_SRC = \ - nds32_reg.c - + 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 \ @@ -137,6 +155,7 @@ noinst_HEADERS = \ armv4_5_cache.h \ armv7a.h \ armv7m.h \ + armv7m_trace.h \ avrt.h \ dsp563xx.h \ dsp563xx_once.h \ @@ -168,9 +187,19 @@ noinst_HEADERS = \ avr32_mem.h \ avr32_regs.h \ nds32.h \ + nds32_cmd.h \ + nds32_disassembler.h \ nds32_edm.h \ nds32_insn.h \ - nds32_reg.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 =