genode/repos/libports/lib/mk/jitterentropy.inc
Josef Söntgen 2f46930824 libports: add jitterentropy-20140411
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.
2014-08-26 11:00:13 +02:00

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