Flash driver for em357
[fw/openocd] / src / flash / nor / Makefile.am
index 4170bd0a74d962d3af1b412eb6fe6a26c316bf85..42707e007ff7ccff69eec86cbd0c1122998b33f5 100644 (file)
@@ -1,6 +1,4 @@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src \
-       -I$(top_builddir)/src
+include $(top_srcdir)/common.mk
 
 noinst_LTLIBRARIES = libocdflashnor.la
 libocdflashnor_la_SOURCES = \
@@ -16,6 +14,7 @@ NOR_DRIVERS = \
        avrf.c \
        cfi.c \
        ecos.c \
+       em357.c \
        faux.c \
        lpc2000.c \
        lpc288x.c \
@@ -23,7 +22,7 @@ NOR_DRIVERS = \
        non_cfi.c \
        ocl.c \
        pic32mx.c \
-       spearsmi.c \
+       stmsmi.c \
        stellaris.c \
        stm32x.c \
        str7x.c \
@@ -38,10 +37,6 @@ noinst_HEADERS = \
        driver.h \
        imp.h \
        non_cfi.h \
-       ocl.h \
-       str7x.h \
-       str9x.h \
-       str9xpec.h \
-       tms470.h
+       ocl.h
 
 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in