summaryrefslogtreecommitdiff
path: root/common.mk
blob: 6689ccdda3fa56c706a82fc579d5d058a4931f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

# common flags used in openocd build
AM_CPPFLAGS = -I$(top_srcdir)/src \
			  -I$(top_builddir)/src \
			  -DPKGDATADIR=\"$(pkgdatadir)\"

if INTERNAL_JIMTCL
AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
			   -I$(top_builddir)/jimtcl
endif

if INTERNAL_LIBSWD
AM_CPPFLAGS += -I$(top_srcdir)/submodules/libswd/src \
			-I$(top_builddir)/submodules/libswd/src
endif