summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-06-22 00:47:09 +0200
committerTomek CEDRO <cederom@tlen.pl>2011-06-22 00:47:09 +0200
commit48d6ac229d331a0a1d24b11db550998f882b838a (patch)
treef7eae65c6a1c925de837a793f794897ab25ab2aa /Makefile.am
parentc9ffe73e9a673494087a11e1d32efa1cf5a7f5da (diff)
downloadopenocd+libswd-48d6ac229d331a0a1d24b11db550998f882b838a.tar.gz
openocd+libswd-48d6ac229d331a0a1d24b11db550998f882b838a.tar.bz2
openocd+libswd-48d6ac229d331a0a1d24b11db550998f882b838a.tar.xz
openocd+libswd-48d6ac229d331a0a1d24b11db550998f882b838a.zip
SUBMODULE/LIBSWD: Integrated (conditional) libswd build into source tree configure and build process (just as JimTCL) in configure.in and Makefile.am. By default build is enabled, using switch '--disable-internal-libswd' build can be disabled and use external one. Added compilers flags to use internal libswd source tree in common.mk.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index b31bcea9..54528606 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,10 +9,12 @@ nobase_dist_pkgdata_DATA = \
contrib/libdcc/README \
contrib/openocd.udev
-if INTERNAL_JIMTCL
-SUBDIRS = jimtcl
-else
SUBDIRS =
+if INTERNAL_JIMTCL
+SUBDIRS += jimtcl
+endif
+if INTERNAL_LIBSWD
+SUBDIRS += submodules/libswd
endif
SUBDIRS += src doc