mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user