mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 01:36:22 +00:00
Add 'seoul_libc_support' library
This library contains the subset of the libc that is needed for the Seoul VMM. Related to issue #666.
This commit is contained in:
parent
0c8b996fa4
commit
9d0a377efe
@ -1,4 +1,10 @@
|
||||
LIBC_DIR = $(REP_DIR)/contrib/libc-8.2.0
|
||||
#
|
||||
# We use 'select_from_repositories' rather than specifying the patch via
|
||||
# 'REP_DIR' to enable other repositories to include this file. For example,
|
||||
# this enables 'ports/lib/mk/seoul_libc_support.mk' to reuse the definitions.
|
||||
#
|
||||
|
||||
LIBC_DIR = $(call select_from_repositories,contrib/libc-8.2.0)
|
||||
|
||||
# local libc includes
|
||||
INC_DIR += $(LIBC_DIR)/libc/locale
|
||||
@ -24,4 +30,4 @@ CC_OPT += -DPIC
|
||||
#
|
||||
# Use libc import rules also for building the libc itself
|
||||
#
|
||||
include $(REP_DIR)/lib/import/import-libc.mk
|
||||
include $(call select_from_repositories,lib/import/import-libc.mk)
|
||||
|
1
ports/lib/import/import-seoul_libc_support.mk
Normal file
1
ports/lib/import/import-seoul_libc_support.mk
Normal file
@ -0,0 +1 @@
|
||||
include $(call select_from_repositories,lib/import/import-libc.mk)
|
7
ports/lib/mk/seoul_libc_support.mk
Normal file
7
ports/lib/mk/seoul_libc_support.mk
Normal file
@ -0,0 +1,7 @@
|
||||
include $(call select_from_repositories,lib/mk/libc-common.inc)
|
||||
|
||||
SRC_C = stdlib/strtoul.c
|
||||
SRC_C += $(addprefix string/,strchr.c strncpy.c strspn.c strcspn.c strstr.c strlen.c strnlen.c strcpy.c memcmp.c strcmp.c)
|
||||
SRC_C += sys/__error.c gen/errno.c locale/none.c locale/table.c
|
||||
|
||||
vpath %.c $(LIBC_DIR)/libc
|
Loading…
x
Reference in New Issue
Block a user