mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
28 lines
919 B
PHP
28 lines
919 B
PHP
GDB_CONTRIB_DIR := $(call select_from_ports,gdb)/src/noux-pkg/gdb
|
|
|
|
INC_DIR += $(REP_DIR)/src/lib/gdbserver_libc_support \
|
|
$(REP_DIR)/src/lib/gdbserver_platform \
|
|
$(REP_DIR)/src/app/gdb_monitor \
|
|
$(REP_DIR)/src/app/gdb_monitor/gdbserver \
|
|
$(REP_DIR)/src/app/gdb_monitor/gdbsupport \
|
|
$(GDB_CONTRIB_DIR)/include \
|
|
$(GDB_CONTRIB_DIR) \
|
|
$(GDB_CONTRIB_DIR)/gdb \
|
|
$(GDB_CONTRIB_DIR)/gdb/common \
|
|
$(GDB_CONTRIB_DIR)/gdb/regformats \
|
|
$(GDB_CONTRIB_DIR)/gdbserver \
|
|
$(GDB_CONTRIB_DIR)/gnulib/import
|
|
|
|
SRC_CC += gdbserver_platform_helper.cc
|
|
|
|
CC_OPT_gdbserver_platform_helper += -fpermissive
|
|
|
|
CC_OPT += -DGDBSERVER
|
|
CC_OPT += -DHAVE_DECL_PTRACE -DHAVE_SYS_PTRACE_H
|
|
|
|
LIBS += stdcxx libc
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/gdbserver_platform
|
|
vpath %.cc $(GDB_CONTRIB_DIR)/gdb
|
|
vpath %.cc $(GDB_CONTRIB_DIR)/gdbserver
|