2014-08-17 16:12:37 +00:00
|
|
|
GDB_CONTRIB_DIR = $(call select_from_ports,gdb)/src/noux-pkg/gdb
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
INC_DIR += $(REP_DIR)/src/lib/gdbserver_libc_support \
|
|
|
|
$(REP_DIR)/src/lib/gdbserver_platform \
|
|
|
|
$(REP_DIR)/src/app/gdb_monitor \
|
|
|
|
$(GDB_CONTRIB_DIR)/include \
|
2019-04-29 14:53:44 +00:00
|
|
|
$(GDB_CONTRIB_DIR)/gdb \
|
2011-12-22 15:19:25 +00:00
|
|
|
$(GDB_CONTRIB_DIR)/gdb/common \
|
|
|
|
$(GDB_CONTRIB_DIR)/gdb/gdbserver \
|
2019-04-29 14:53:44 +00:00
|
|
|
$(GDB_CONTRIB_DIR)/gdb/gnulib/import \
|
2011-12-22 15:19:25 +00:00
|
|
|
$(GDB_CONTRIB_DIR)/gdb/regformats \
|
|
|
|
$(REP_DIR)/src/app/gdb_monitor/gdbserver
|
|
|
|
|
|
|
|
SRC_CC += gdbserver_platform_helper.cc
|
|
|
|
|
2019-04-29 14:53:44 +00:00
|
|
|
CC_OPT_gdbserver_platform_helper += -fpermissive
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2019-04-29 14:53:44 +00:00
|
|
|
CC_OPT += -DGDBSERVER
|
|
|
|
CC_OPT += -DHAVE_DECL_PTRACE -DHAVE_SYS_PTRACE_H
|
2015-03-05 12:13:52 +00:00
|
|
|
|
2019-04-29 14:53:44 +00:00
|
|
|
LIBS += stdcxx libc
|
2016-03-06 14:25:38 +00:00
|
|
|
|
2011-12-22 15:19:25 +00:00
|
|
|
vpath %.cc $(REP_DIR)/src/lib/gdbserver_platform
|
2019-04-29 14:53:44 +00:00
|
|
|
vpath %.cc $(GDB_CONTRIB_DIR)/gdb
|