genode/repos/libports/lib/mk/spec/arm_64/libc-gen.mk

22 lines
760 B
Makefile

include $(REP_DIR)/lib/mk/libc-gen.inc
LIBC_GEN_ARM64_DIR = $(LIBC_DIR)/lib/libc/aarch64/gen
#INC_DIR += $(LIBC_DIR)/lib/msun/aarch64
SRC_S += _ctx_start.S sigsetjmp.S
SRC_C += flt_rounds.c fpgetmask.c fpsetmask.c infinity.c makecontext.c
#
# Fix missing include prefix for 'ucontext.h', should be 'sys/ucontext.h'
#
# The first path is in effect when using the regular build system. The second
# path is in effect when building the libc from a source archive (where the
# ucontext.h header is taken from the libc API archive).
#
CC_OPT_makecontext = -I$(call select_from_ports,libc)/include/libc/sys \
$(addprefix -I,$(call select_from_repositories,/include/libc/sys))
vpath %.c $(LIBC_GEN_ARM64_DIR)
vpath %.S $(LIBC_GEN_ARM64_DIR)