2018-11-15 17:04:53 +00:00
|
|
|
GCOV_PORT_DIR := $(call select_from_ports,gcov)
|
|
|
|
|
|
|
|
GCOV_DIR := $(GCOV_PORT_DIR)/src/gcov
|
|
|
|
|
|
|
|
SRC_C = argv.c \
|
|
|
|
concat.c \
|
|
|
|
cp-demangle.c \
|
|
|
|
cplus-dem.c \
|
|
|
|
d-demangle.c \
|
|
|
|
filename_cmp.c \
|
|
|
|
fopen_unlocked.c \
|
|
|
|
hashtab.c \
|
2021-04-03 19:42:46 +00:00
|
|
|
hex.c \
|
2018-11-15 17:04:53 +00:00
|
|
|
lbasename.c \
|
2019-03-25 18:15:37 +00:00
|
|
|
md5.c \
|
2018-11-15 17:04:53 +00:00
|
|
|
obstack.c \
|
2019-03-25 18:15:37 +00:00
|
|
|
rust-demangle.c \
|
2018-11-15 17:04:53 +00:00
|
|
|
safe-ctype.c \
|
2019-03-25 18:15:37 +00:00
|
|
|
splay-tree.c \
|
2018-11-15 17:04:53 +00:00
|
|
|
vprintf-support.c \
|
|
|
|
xexit.c \
|
|
|
|
xmalloc.c \
|
2019-03-25 18:15:37 +00:00
|
|
|
xmemdup.c \
|
2021-04-03 19:42:46 +00:00
|
|
|
xasprintf.c \
|
2018-11-15 17:04:53 +00:00
|
|
|
xstrdup.c \
|
|
|
|
xstrerror.c \
|
2019-03-25 18:15:37 +00:00
|
|
|
xstrndup.c \
|
2018-11-15 17:04:53 +00:00
|
|
|
xvasprintf.c
|
|
|
|
|
|
|
|
CC_OPT += -DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
LIBS += libc stdcxx
|
|
|
|
|
|
|
|
INC_DIR += $(GCOV_DIR)/include
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm/libiberty
|
|
|
|
endif
|
|
|
|
|
2019-10-25 12:08:28 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm_64/libiberty
|
|
|
|
endif
|
|
|
|
|
2018-11-15 17:04:53 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_32/libiberty
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_64/libiberty
|
|
|
|
endif
|
|
|
|
|
|
|
|
vpath %.c $(GCOV_DIR)/libiberty
|
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|