mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +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
21 lines
611 B
Makefile
21 lines
611 B
Makefile
#
|
|
# Specifics for the Linux-specific Genode components
|
|
#
|
|
|
|
#
|
|
# Startup code to be used when building a program and linker script that is
|
|
# specific for Linux. We also reserve the thread-context area via a segment in
|
|
# the program under Linux to prevent clashes with vdso.
|
|
#
|
|
ifneq ($(USE_HOST_LD_SCRIPT),yes)
|
|
LD_TEXT_ADDR ?= 0x01000000
|
|
LD_SCRIPT_STATIC = $(call select_from_repositories,src/platform/genode.ld) \
|
|
$(call select_from_repositories,src/platform/context_area.nostdlib.ld)
|
|
else
|
|
LD_SCRIPT_STATIC ?=
|
|
endif
|
|
|
|
ifneq ($(filter hardening_tool_chain, $(SPECS)),)
|
|
CC_OPT += -fPIC
|
|
endif
|