From eb1bc657ae10f9e21304e068ca17dc0231a9b9c0 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Sat, 5 Dec 2009 10:50:59 +0100 Subject: build: add build/src to include path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows including generated include files. Signed-off-by: Øyvind Harboe --- src/flash/Makefile.am | 3 ++- src/flash/nand/Makefile.am | 4 +++- src/flash/nor/Makefile.am | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src/flash') 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 = \ -- cgit v1.2.3