genode/repos/ports/lib/mk/gdbserver_platform.inc
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

26 lines
756 B
PHP

GDB_CONTRIB_DIR = $(REP_DIR)/contrib/gdb-7.3.1
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 \
$(GDB_CONTRIB_DIR)/gdb/common \
$(GDB_CONTRIB_DIR)/gdb/gdbserver \
$(GDB_CONTRIB_DIR)/gdb/regformats \
$(REP_DIR)/src/app/gdb_monitor/gdbserver
SRC_CC += gdbserver_platform_helper.cc
LIBS += libc
vpath %.cc $(REP_DIR)/src/lib/gdbserver_platform
vpath %.c $(REP_DIR)/src/lib/gdbserver_platform/generated
vpath %.c $(GDB_CONTRIB_DIR)/gdb/gdbserver
#
# Detect missing preparation of GDB package
#
ifeq ($(wildcard $(GDB_CONTRIB_DIR)),)
REQUIRES = prepare_ports_gdb
endif