summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-12-05 10:50:59 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-12-08 10:16:10 +0100
commiteb1bc657ae10f9e21304e068ca17dc0231a9b9c0 (patch)
tree036582d1d3bafe1dc6f76244736536dc22fad080 /src/flash
parent456ec016c2403ed95e0b8b33534ab53ed41d7c27 (diff)
downloadopenocd+libswd-eb1bc657ae10f9e21304e068ca17dc0231a9b9c0.tar.gz
openocd+libswd-eb1bc657ae10f9e21304e068ca17dc0231a9b9c0.tar.bz2
openocd+libswd-eb1bc657ae10f9e21304e068ca17dc0231a9b9c0.tar.xz
openocd+libswd-eb1bc657ae10f9e21304e068ca17dc0231a9b9c0.zip
build: add build/src to include path
This allows including generated include files. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/Makefile.am3
-rw-r--r--src/flash/nand/Makefile.am4
-rw-r--r--src/flash/nor/Makefile.am4
3 files changed, 8 insertions, 3 deletions
diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am
index 646889e1..9d983a8d 100644
--- a/src/flash/Makefile.am
+++ b/src/flash/Makefile.am
@@ -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
diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am
index a48b726a..f3033b85 100644
--- a/src/flash/nand/Makefile.am
+++ b/src/flash/nand/Makefile.am
@@ -1,4 +1,6 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
+ -I$(top_builddir)/src
noinst_LTLIBRARIES = libocdflashnand.la
diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am
index f1850812..5d0a4dfc 100644
--- a/src/flash/nor/Makefile.am
+++ b/src/flash/nor/Makefile.am
@@ -1,4 +1,6 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
+ -I$(top_builddir)/src
noinst_LTLIBRARIES = libocdflashnor.la
libocdflashnor_la_SOURCES = \