From 896ac8d4ef3212f80887bf009d626c5becb1240a Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Tue, 24 Nov 2009 14:59:16 -0800 Subject: allow #include directives to use module name Includes the src directory in the search path, so header files may be migrated from: #include "foo.h" to #include which is more conducive for installation. --- src/flash/Makefile.am | 1 + src/flash/nand/Makefile.am | 1 + src/flash/nor/Makefile.am | 1 + 3 files changed, 3 insertions(+) (limited to 'src/flash') diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 54a5116e..ee322eee 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = \ nand AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/target diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am index e95717e2..921b7f3d 100644 --- a/src/flash/nand/Makefile.am +++ b/src/flash/nand/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/flash \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index d2d99981..1be84bec 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/flash \ -- cgit v1.2.3