Avoid double slashes in select_from_repositories

Issue #4019
This commit is contained in:
Norman Feske 2021-03-03 11:37:15 +01:00
parent ee0ed273e6
commit ba567f4ba8
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
INC_DIR += \
$(call select_from_ports,pcg-c)/include/pcg-c \
$(call select_from_repositories,/include/pcg-c) \
$(call select_from_repositories,include/pcg-c)

View File

@ -20,7 +20,7 @@ SRC_C += $(filter-out $(FILTER_OUT_C),$(notdir $(wildcard $(LIBC_GEN_ARM_DIR)/*
# 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))
$(addprefix -I,$(call select_from_repositories,include/libc/sys))
vpath % $(LIBC_GEN_ARM_DIR)

View File

@ -15,7 +15,7 @@ SRC_C += flt_rounds.c fpgetmask.c fpsetmask.c infinity.c makecontext.c
# 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))
$(addprefix -I,$(call select_from_repositories,include/libc/sys))
vpath %.c $(LIBC_GEN_ARM64_DIR)
vpath %.S $(LIBC_GEN_ARM64_DIR)