mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 01:58:55 +00:00
2f46930824
This commit adds a port the jitterentropy library to Genode. As backend on x86_{32,64} 'rdtsc' is used and on ARMv{6,7} the performance-counter. Fixes #1239.
15 lines
379 B
PHP
15 lines
379 B
PHP
JENT_CONTRIB_DIR := $(call select_from_ports,jitterentropy)
|
|
|
|
INC_DIR += $(JENT_CONTRIB_DIR)/include/jitterentropy \
|
|
$(REP_DIR)/src/lib/jitterentropy
|
|
|
|
SRC_C = jitterentropy-base.c
|
|
SRC_CC = jitterentropy-base-genode.cc
|
|
|
|
CC_OPT += -DJITTERENTROPY_GENODE
|
|
|
|
CC_OLEVEL := -O0
|
|
|
|
vpath %.c $(JENT_CONTRIB_DIR)/src/lib/jitterentropy
|
|
vpath %.cc $(REP_DIR)/src/lib/jitterentropy
|