mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
5c2599e24e
FreeBSD implements 'clock' with an accuracy of 128 ticks-per-second for compatibility reasons, Linux uses 1000000 per-second. Remove 'clock' and print an error because it is unlikely that this is the resolution expected by the application. Fix #3057
25 lines
788 B
PHP
25 lines
788 B
PHP
LIBC_GEN_DIR = $(LIBC_DIR)/lib/libc/gen
|
|
|
|
# this file produces a warning about a missing header file, lets drop it
|
|
FILTER_OUT_C += getosreldate.c sem.c valloc.c getpwent.c
|
|
|
|
# the following are superceded by our minimalist sysctl and sysconf
|
|
FILTER_OUT_C += \
|
|
devname.c feature_present.c getpagesizes.c getvfsbyname.c \
|
|
setproctitle.c sysconf.c sysctlbyname.c
|
|
|
|
# the following is a wrapper over rusage, which we cannot provide
|
|
FILTER_OUT_C += clock.c
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT_C),$(notdir $(wildcard $(LIBC_GEN_DIR)/*.c)))
|
|
|
|
# 'sysconf.c' includes the local 'stdtime/tzfile.h'
|
|
INC_DIR += $(REP_DIR)/src/lib/libc/stdtime
|
|
|
|
# '_pthread_stubs.c' includes the local 'libc_pdbg.h'
|
|
INC_DIR += $(REP_DIR)/src/lib/libc
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
vpath %.c $(LIBC_GEN_DIR)
|