diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-11-12 11:41:55 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-11-18 14:05:56 +0000 |
commit | 838cd58e24a18102b8a140df9fa993fe65706828 (patch) | |
tree | 1bac7c3ed5ffb83ae561b4b832d5661da735e68f /src/flash | |
parent | ab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd (diff) | |
download | openocd_libswd-838cd58e24a18102b8a140df9fa993fe65706828.tar.gz openocd_libswd-838cd58e24a18102b8a140df9fa993fe65706828.tar.bz2 openocd_libswd-838cd58e24a18102b8a140df9fa993fe65706828.tar.xz openocd_libswd-838cd58e24a18102b8a140df9fa993fe65706828.zip |
build: add common.mk
Rather than specifying common makefile variables move
them all to a common.mk.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/Makefile.am | 6 | ||||
-rw-r--r-- | src/flash/nand/Makefile.am | 4 | ||||
-rw-r--r-- | src/flash/nor/Makefile.am | 4 |
3 files changed, 4 insertions, 10 deletions
diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 9d983a8d..ece40183 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -1,11 +1,9 @@ +include $(top_srcdir)/common.mk + SUBDIRS = \ nor \ nand -AM_CPPFLAGS = \ - -I$(top_srcdir)/src \ - -I$(top_builddir)/src - METASOURCES = AUTO noinst_LTLIBRARIES = libflash.la libflash_la_SOURCES = \ diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am index 8ea7b362..9aa0e69f 100644 --- a/src/flash/nand/Makefile.am +++ b/src/flash/nand/Makefile.am @@ -1,6 +1,4 @@ -AM_CPPFLAGS = \ - -I$(top_srcdir)/src \ - -I$(top_builddir)/src +include $(top_srcdir)/common.mk noinst_LTLIBRARIES = libocdflashnand.la diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index 852c0a37..e281c22b 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -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 = \ |