Build-system support for ported 3rd-party code

The new 'select_from_ports' function allows a target description file to
query the path to an installed port. All ports are stored in a central
location specified as CONTRIB_DIR. By default, CONTRIB_DIR is defined
as '<genode-dir>/contrib'. Ports of 3rd-party source code are managed
using the tools at '<genode-dir>/tool/ports/'.

Issue #1082
This commit is contained in:
Norman Feske
2014-05-08 16:42:38 +02:00
parent a128b40f03
commit 3de1423a6a
8 changed files with 82 additions and 10 deletions

View File

@@ -20,9 +20,9 @@
all:
#
# Function that searches for files in all repositories and returns the first match
# Include common utility functions
#
select_from_repositories = $(firstword $(foreach REP,$(REPOSITORIES),$(wildcard $(REP)/$(1))))
include $(BASE_DIR)/mk/util.inc
#
# Include target build instructions