2014-08-18 13:28:46 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
|
|
TARGET_CPUARCH=x86_32
|
|
|
|
else ifeq ($(filter-out $(SPECS),x86_64),)
|
|
|
|
TARGET_CPUARCH=x86_64
|
|
|
|
else ifeq ($(filter-out $(SPECS),arm_v6),)
|
|
|
|
TARGET_CPUARCH=arm_v6
|
|
|
|
else ifeq ($(filter-out $(SPECS),arm_v7),)
|
|
|
|
TARGET_CPUARCH=arm_v7
|
2019-05-29 11:28:47 +00:00
|
|
|
else ifeq ($(filter-out $(SPECS),arm_v8),)
|
|
|
|
TARGET_CPUARCH=arm_v8
|
2014-08-18 13:28:46 +00:00
|
|
|
endif
|
|
|
|
|
2022-09-23 13:05:17 +00:00
|
|
|
JITTERENTROPY_DIR := $(call select_from_ports,jitterentropy)
|
|
|
|
|
2018-05-16 12:18:48 +00:00
|
|
|
ifeq ($(CONTRIB_DIR),)
|
|
|
|
REP_INC_DIR += include/jitterentropy
|
|
|
|
else
|
2022-09-23 13:05:17 +00:00
|
|
|
INC_DIR += $(JITTERENTROPY_DIR)/include/jitterentropy
|
2018-05-16 12:18:48 +00:00
|
|
|
endif
|
|
|
|
|
2015-02-04 09:08:52 +00:00
|
|
|
INC_DIR += $(call select_from_repositories,src/lib/jitterentropy)
|
2015-09-03 12:55:05 +00:00
|
|
|
INC_DIR += $(call select_from_repositories,src/lib/jitterentropy/spec/$(TARGET_CPUARCH))
|
2014-08-18 13:28:46 +00:00
|
|
|
|
|
|
|
CC_OPT += -DJITTERENTROPY_GENODE
|