mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-09 06:22:46 +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
16 lines
616 B
Makefile
16 lines
616 B
Makefile
include $(REP_DIR)/lib/mk/libc-gen.inc
|
|
|
|
LIBC_GEN_ARM_DIR = $(LIBC_DIR)/lib/libc/arm/gen
|
|
|
|
#FILTER_OUT_S += rfork_thread.S sigsetjmp.S setjmp.S _setjmp.S divsi3.S
|
|
FILTER_OUT_S += rfork_thread.S divsi3.S setjmp.S _setjmp.S
|
|
FILTER_OUT_C += _set_tp.c fabs.c frexp.c modf.c
|
|
|
|
SRC_S += $(filter-out $(FILTER_OUT_S),$(notdir $(wildcard $(LIBC_GEN_ARM_DIR)/*.S)))
|
|
SRC_C += $(filter-out $(FILTER_OUT_C),$(notdir $(wildcard $(LIBC_GEN_ARM_DIR)/*.c)))
|
|
|
|
# fix missing include prefix for 'ucontext.h', should be 'sys/ucontext.h'
|
|
CC_OPT_makecontext = -I$(call select_from_ports,libc)/include/libc/sys
|
|
|
|
vpath % $(LIBC_GEN_ARM_DIR)
|