openocd/src/flash/nor/Makefile.am
Zachary T Welch c65d94f7d0 add flash/nor/core.[ch]
The newly moved flash TCL routines access the internals of the module
too much.  Fix the layering issues by adding new core NOR flash APIs:

<flash/nor/core.h>:
  - flash_driver_find_by_name() - self-descriptive

<flash/nor/imp.h>:
  - flash_bank_add()            - encapsulates adding banks to bank list
  - flash_bank_list()           - encapsulates retreiving bank list

This allows the externs in flash/nor/imp.h to be removed, and
these mechanisms may now be re-used by other flash module code.
2009-12-04 03:34:33 -08:00

49 lines
640 B
Makefile

AM_CPPFLAGS = -I$(top_srcdir)/src
noinst_LTLIBRARIES = libocdflashnor.la
libocdflashnor_la_SOURCES = \
core.c \
tcl.c \
$(NOR_DRIVERS)
NOR_DRIVERS = \
aduc702x.c \
at91sam3.c \
at91sam7.c \
avrf.c \
cfi.c \
ecos.c \
faux.c \
lpc2000.c \
lpc288x.c \
lpc2900.c \
non_cfi.c \
ocl.c \
pic32mx.c \
stellaris.c \
stm32x.c \
str7x.c \
str9x.c \
str9xpec.c \
tms470.c
noinst_HEADERS = \
at91sam7.h \
at91sam3.h \
avrf.h \
cfi.h \
imp.h \
lpc2000.h \
lpc288x.h \
non_cfi.h \
ocl.h \
pic32mx.h \
stellaris.h \
stm32x.h \
str7x.h \
str9x.h \
str9xpec.h \
tms470.h
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in