genode/repos/base-pistachio/mk/spec-pistachio.mk
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

36 lines
665 B
Makefile

#
# Specifics for the pistachio kernel API
#
#
# Read default and builddir-specific config files
#
# In these config files, we expect to find the definition of PISTACHIO_USER_BUILD_DIR
#
-include $(call select_from_repositories,etc/pistachio.conf)
-include $(BUILD_BASE_DIR)/etc/pistachio.conf
PISTACHIO_USER_BUILD_DIR ?= $(BUILD_BASE_DIR)/l4
#
# Pistachio headers
#
INC_DIR += $(PISTACHIO_USER_BUILD_DIR)/include
#
# Pistachio-specific Genode headers
#
REP_INC_DIR += include/pistachio
#
# Linker options
#
CXX_LINK_OPT += -L$(PISTACHIO_USER_BUILD_DIR)/lib
EXT_OBJECTS += -ll4
clean_contrib:
$(VERBOSE)rm -rf $(BUILD_BASE_DIR)/l4
cleanall: clean_contrib