NOR/TCL: fix typo in error message
[fw/openocd] / src / flash / Makefile.am
index f8d7088386353ab63001a382a3e242804e2d75bf..9d983a8d9e10dd1f1afa6f57c8c94d10e8f9ebdd 100644 (file)
@@ -3,7 +3,8 @@ SUBDIRS = \
        nand
 
 AM_CPPFLAGS = \
-       -I$(top_srcdir)/src
+       -I$(top_srcdir)/src \
+       -I$(top_builddir)/src
 
 METASOURCES = AUTO
 noinst_LTLIBRARIES = libflash.la
@@ -17,8 +18,7 @@ libflash_la_LIBADD = \
 
 noinst_HEADERS = \
        common.h \
-       mflash.h \
-       nand.h
+       mflash.h
 
 EXTRA_DIST = startup.tcl