mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-01 03:26:45 +00:00
ed52d5a211
Instead of holding SPEC-variable dependent files and directories inline within the repository structure, move them into 'spec' subdirectories at the corresponding levels, e.g.: repos/base/include/spec repos/base/mk/spec repos/base/lib/mk/spec repos/base/src/core/spec ... Moreover, this commit removes the 'platform' directories. That term was used in an overloaded sense. All SPEC-relative 'platform' directories are now named 'spec'. Other files, like for instance those related to the kernel/architecture specific startup library, where moved from 'platform' directories to explicit, more meaningful places like e.g.: 'src/lib/startup'. Fix #1673
24 lines
565 B
Makefile
24 lines
565 B
Makefile
SHARED_LIB = yes
|
|
DIR = $(REP_DIR)/src/lib/ldso
|
|
|
|
include $(BASE_DIR)/mk/base-libs.mk
|
|
|
|
LIBS = $(BASE_LIBS)
|
|
SRC_CC = main.cc test.cc exception.cc file.cc dependency.cc debug.cc \
|
|
shared_object.cc
|
|
SRC_S = jmp_slot.s
|
|
INC_DIR += $(DIR)/include
|
|
LD_OPT += -Bsymbolic-functions --version-script=$(DIR)/symbol.map
|
|
ENTRY_POINT = _start
|
|
|
|
ifneq ($(filter linux, $(SPECS)),)
|
|
LD_OPT += -T$(call select_from_repositories,src/ld/context_area.nostdlib.ld)
|
|
else
|
|
LD_OPT += -T$(DIR)/linker.ld
|
|
endif
|
|
|
|
vpath %.cc $(DIR)
|
|
|
|
# vi:ft=make
|
|
|