mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
depot: recipe for api/jitterentropy
The API archive makes the library usable for src/gpt_write.
This commit is contained in:
parent
44a6e51114
commit
df9eb55c5a
@ -8,7 +8,12 @@ else ifeq ($(filter-out $(SPECS),arm_v7),)
|
||||
TARGET_CPUARCH=arm_v7
|
||||
endif
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
REP_INC_DIR += include/jitterentropy
|
||||
else
|
||||
INC_DIR += $(call select_from_ports,jitterentropy)/include/jitterentropy
|
||||
endif
|
||||
|
||||
INC_DIR += $(call select_from_repositories,src/lib/jitterentropy)
|
||||
INC_DIR += $(call select_from_repositories,src/lib/jitterentropy/spec/$(TARGET_CPUARCH))
|
||||
|
||||
|
25
repos/libports/recipes/api/jitterentropy/content.mk
Normal file
25
repos/libports/recipes/api/jitterentropy/content.mk
Normal file
@ -0,0 +1,25 @@
|
||||
MIRROR_FROM_REP_DIR := lib/mk/jitterentropy.inc \
|
||||
lib/import/import-jitterentropy.mk \
|
||||
$(foreach SPEC,arm_v6 arm_v7 x86_32 x86_64,\
|
||||
lib/mk/spec/$(SPEC)/jitterentropy.mk) \
|
||||
src/lib/jitterentropy
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/jitterentropy)
|
||||
MIRROR_FROM_PORT_DIR := src/lib/jitterentropy/jitterentropy-base.c \
|
||||
include/jitterentropy/jitterentropy.h
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) LICENSE
|
||||
|
||||
$(MIRROR_FROM_PORT_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(PORT_DIR)/$@ $@
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
LICENSE:
|
||||
( echo "The contrib sources"; \
|
||||
echo " include/jitterentropy/jitterentropy.h"; \
|
||||
echo " src/lib/jitterentropy/jitterentropy-base.c"; \
|
||||
echo "by Stephan Mueller are licensed under a BSD-style license (please"; \
|
||||
echo "see the corresponding copyright header in the files)." ) > $@
|
1
repos/libports/recipes/api/jitterentropy/hash
Normal file
1
repos/libports/recipes/api/jitterentropy/hash
Normal file
@ -0,0 +1 @@
|
||||
2018-05-18 f226ebc41dc260f4b3506870061d6f67c1fa34ec
|
@ -1,29 +1,9 @@
|
||||
MIRROR_FROM_REP_DIR := lib/mk/jitterentropy.inc \
|
||||
lib/import/import-jitterentropy.mk \
|
||||
$(foreach SPEC,arm_v6 arm_v7 x86_32 x86_64,\
|
||||
lib/mk/spec/$(SPEC)/jitterentropy.mk) \
|
||||
src/lib/jitterentropy \
|
||||
lib/mk/vfs_jitterentropy.mk src/lib/vfs/jitterentropy
|
||||
MIRROR_FROM_REP_DIR := lib/mk/vfs_jitterentropy.mk src/lib/vfs/jitterentropy
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/jitterentropy)
|
||||
MIRROR_FROM_PORT_DIR := src/lib/jitterentropy/jitterentropy-base.c \
|
||||
include/jitterentropy/jitterentropy.h
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) LICENSE
|
||||
|
||||
$(MIRROR_FROM_PORT_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(PORT_DIR)/$@ $@
|
||||
content: $(MIRROR_FROM_REP_DIR) LICENSE
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
LICENSE:
|
||||
( echo "The contrib sources"; \
|
||||
echo " include/jitterentropy/jitterentropy.h"; \
|
||||
echo " src/lib/jitterentropy/jitterentropy-base.c"; \
|
||||
echo "by Stephan Mueller are licensed under a BSD-style license (please"; \
|
||||
echo "see the corresponding copyright header in the files)."; \
|
||||
echo ; \
|
||||
echo "The remaining source files are subject to the Genode license: "; \
|
||||
cat $(GENODE_DIR)/LICENSE; ) > $@
|
||||
cp $(GENODE_DIR)/LICENSE $@
|
||||
|
@ -3,3 +3,4 @@ os
|
||||
so
|
||||
libc
|
||||
vfs
|
||||
jitterentropy
|
||||
|
Loading…
Reference in New Issue
Block a user