2018-11-15 17:04:53 +00:00
|
|
|
GCOV_PORT_DIR := $(call select_from_ports,gcov)
|
|
|
|
|
|
|
|
GCOV_DIR := $(GCOV_PORT_DIR)/src/gcov
|
|
|
|
|
|
|
|
SRC_CC = diagnostic.cc \
|
|
|
|
diagnostic-color.cc \
|
|
|
|
diagnostic-show-locus.cc \
|
2019-03-25 18:15:37 +00:00
|
|
|
edit-context.cc \
|
2018-11-15 17:04:53 +00:00
|
|
|
ggc-none.cc \
|
|
|
|
hash-table.cc \
|
|
|
|
input.cc \
|
|
|
|
intl.cc \
|
2021-04-03 19:42:46 +00:00
|
|
|
json.cc \
|
2018-11-15 17:04:53 +00:00
|
|
|
memory-block.cc \
|
|
|
|
pretty-print.cc \
|
2021-04-03 19:42:46 +00:00
|
|
|
sort.cc \
|
2023-04-23 18:10:52 +00:00
|
|
|
vec.cc
|
2018-11-15 17:04:53 +00:00
|
|
|
|
|
|
|
CC_OPT += -DIN_GCC
|
|
|
|
|
2023-05-09 10:10:12 +00:00
|
|
|
CC_OPT_version += -DBASEVER="\"12.3.0\"" \
|
2018-11-15 17:04:53 +00:00
|
|
|
-DDATESTAMP="\"\"" \
|
|
|
|
-DREVISION="\"\"" \
|
|
|
|
-DDEVPHASE="\"\"" \
|
|
|
|
-DPKGVERSION="\"(GCC) \"" \
|
|
|
|
-DBUGURL="\"<http://gcc.gnu.org/bugs.html>\""
|
|
|
|
|
2023-03-06 13:58:06 +00:00
|
|
|
LIBS += libc gmp stdcxx format
|
2018-11-15 17:04:53 +00:00
|
|
|
|
|
|
|
INC_DIR += $(GCOV_DIR)/include \
|
|
|
|
$(GCOV_DIR)/libcpp/include
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm/gcc
|
|
|
|
endif
|
|
|
|
|
2019-10-25 12:08:28 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm_64/gcc
|
|
|
|
endif
|
|
|
|
|
2018-11-15 17:04:53 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_32/gcc
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_64/gcc
|
|
|
|
endif
|
|
|
|
|
|
|
|
vpath %.cc $(GCOV_DIR)/gcc
|
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|