Not all compilers nor compiler versions supports the attributes used in OpenOCD code. Collect in a single file the workaround to handle them. Change-Id: I92d871337281169134ce8e40b2064591518be71f Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7519 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
44 lines
782 B
Makefile
44 lines
782 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
noinst_LTLIBRARIES += %D%/libhelper.la
|
|
|
|
%C%_libhelper_la_SOURCES = \
|
|
%D%/binarybuffer.c \
|
|
%D%/options.c \
|
|
%D%/time_support_common.c \
|
|
%D%/configuration.c \
|
|
%D%/log.c \
|
|
%D%/command.c \
|
|
%D%/crc32.c \
|
|
%D%/time_support.c \
|
|
%D%/replacements.c \
|
|
%D%/fileio.c \
|
|
%D%/util.c \
|
|
%D%/jep106.c \
|
|
%D%/jim-nvp.c \
|
|
%D%/nvp.c \
|
|
%D%/align.h \
|
|
%D%/binarybuffer.h \
|
|
%D%/bits.h \
|
|
%D%/configuration.h \
|
|
%D%/list.h \
|
|
%D%/util.h \
|
|
%D%/types.h \
|
|
%D%/log.h \
|
|
%D%/command.h \
|
|
%D%/crc32.h \
|
|
%D%/time_support.h \
|
|
%D%/replacements.h \
|
|
%D%/fileio.h \
|
|
%D%/system.h \
|
|
%D%/jep106.h \
|
|
%D%/jep106.inc \
|
|
%D%/jim-nvp.h \
|
|
%D%/nvp.h \
|
|
%D%/compiler.h
|
|
|
|
STARTUP_TCL_SRCS += %D%/startup.tcl
|
|
EXTRA_DIST += \
|
|
%D%/bin2char.sh \
|
|
%D%/update_jep106.pl
|