mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
ca971bbfd8
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
36 lines
665 B
Makefile
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
|
|
|