f1b04a20dc
Using custom build-time tools is always more problematic, especially for cross-compiling. This alternative implementation assumes "od" (IEEE Std 1003.1-2001) and sed are available which should be the case for any reasonably modern system. Change-Id: I0208f475648c78e7dca127ff4bab60d314b2bf53 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2139 Tested-by: jenkins Reviewed-by: Fatih Aşıcı <fatih.asici@gmail.com> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
53 lines
881 B
Makefile
53 lines
881 B
Makefile
include $(top_srcdir)/common.mk
|
|
|
|
METASOURCES = AUTO
|
|
noinst_LTLIBRARIES = libhelper.la
|
|
|
|
CONFIGFILES = options.c time_support_common.c
|
|
|
|
libhelper_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS)
|
|
|
|
libhelper_la_SOURCES = \
|
|
binarybuffer.c \
|
|
$(CONFIGFILES) \
|
|
configuration.c \
|
|
log.c \
|
|
command.c \
|
|
time_support.c \
|
|
replacements.c \
|
|
fileio.c \
|
|
util.c \
|
|
jim-nvp.c
|
|
|
|
if IOUTIL
|
|
libhelper_la_SOURCES += ioutil.c
|
|
else
|
|
libhelper_la_SOURCES += ioutil_stubs.c
|
|
endif
|
|
|
|
libhelper_la_CFLAGS =
|
|
if IS_MINGW
|
|
# FD_* macros are sloppy with their signs on MinGW32 platform
|
|
libhelper_la_CFLAGS += -Wno-sign-compare
|
|
endif
|
|
|
|
noinst_HEADERS = \
|
|
binarybuffer.h \
|
|
configuration.h \
|
|
ioutil.h \
|
|
list.h \
|
|
util.h \
|
|
types.h \
|
|
log.h \
|
|
command.h \
|
|
time_support.h \
|
|
replacements.h \
|
|
fileio.h \
|
|
system.h \
|
|
bin2char.sh \
|
|
jim-nvp.h
|
|
|
|
EXTRA_DIST = startup.tcl
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|