mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
libports: create libcrypto recipe
This commit is contained in:
parent
f32344138f
commit
a6b4812b78
@ -1,12 +1 @@
|
|||||||
INC_DIR += $(call select_from_ports,openssl)/include
|
INC_DIR += $(call select_from_ports,openssl)/include
|
||||||
|
|
||||||
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),)
|
|
||||||
TARGET_CPUARCH=arm
|
|
||||||
endif
|
|
||||||
|
|
||||||
# include architecture specific opensslconf.h
|
|
||||||
REP_INC_DIR += src/lib/openssl/$(TARGET_CPUARCH)
|
|
||||||
|
3988
repos/libports/lib/symbols/libcrypto
Normal file
3988
repos/libports/lib/symbols/libcrypto
Normal file
File diff suppressed because it is too large
Load Diff
23
repos/libports/recipes/api/libcrypto/content.mk
Normal file
23
repos/libports/recipes/api/libcrypto/content.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
MIRROR_FROM_REP_DIR := lib/import/import-libcrypto.mk \
|
||||||
|
lib/symbols/libcrypto
|
||||||
|
|
||||||
|
content: $(MIRROR_FROM_REP_DIR)
|
||||||
|
|
||||||
|
$(MIRROR_FROM_REP_DIR):
|
||||||
|
$(mirror_from_rep_dir)
|
||||||
|
|
||||||
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/openssl)
|
||||||
|
|
||||||
|
content: include
|
||||||
|
|
||||||
|
include:
|
||||||
|
mkdir -p $@
|
||||||
|
cp -r $(PORT_DIR)/include/* $@/
|
||||||
|
mkdir -p $@/crypto/ec
|
||||||
|
cp -r $(PORT_DIR)/src/lib/openssl/crypto/ec/ec_lcl.h $@/crypto/ec
|
||||||
|
cp -r $(PORT_DIR)/src/lib/openssl/crypto/o_dir.h $@/crypto
|
||||||
|
|
||||||
|
content: LICENSE
|
||||||
|
|
||||||
|
LICENSE:
|
||||||
|
cp $(PORT_DIR)/src/lib/openssl/LICENSE $@
|
1
repos/libports/recipes/api/libcrypto/hash
Normal file
1
repos/libports/recipes/api/libcrypto/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2017-11-13-b 84218340386b08045bdaaf74556a4438df6a9b9e
|
1
repos/libports/recipes/src/libcrypto/api
Normal file
1
repos/libports/recipes/src/libcrypto/api
Normal file
@ -0,0 +1 @@
|
|||||||
|
libcrypto
|
29
repos/libports/recipes/src/libcrypto/content.mk
Normal file
29
repos/libports/recipes/src/libcrypto/content.mk
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
content: src/lib/libcrypto/target.mk src/lib/openssl lib/mk LICENSE
|
||||||
|
|
||||||
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/openssl)
|
||||||
|
|
||||||
|
src/lib/libcrypto:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
|
src/lib/openssl:
|
||||||
|
mkdir -p $@
|
||||||
|
cp -r $(PORT_DIR)/src/lib/openssl/e_os.h $@
|
||||||
|
cp -r $(REP_DIR)/src/lib/openssl/* $@
|
||||||
|
mkdir -p $@/crypto
|
||||||
|
cp -r $(PORT_DIR)/src/lib/openssl/crypto/* $@/crypto
|
||||||
|
mkdir -p $@/x86_64
|
||||||
|
cp -r $(PORT_DIR)/src/lib/openssl/x86_64/* $@/x86_64
|
||||||
|
|
||||||
|
src/lib/libcrypto/target.mk: src/lib/libcrypto src/lib/openssl
|
||||||
|
echo "LIBS += libcrypto" > $@
|
||||||
|
|
||||||
|
lib/mk:
|
||||||
|
mkdir -p $@
|
||||||
|
cp $(REP_DIR)/lib/mk/libcrypto.inc $@
|
||||||
|
for spec in x86_32 x86_64 arm; do \
|
||||||
|
mkdir -p $@/spec/$$spec; \
|
||||||
|
cp $(REP_DIR)/$@/spec/$$spec/libcrypto.mk $@/spec/$$spec/; \
|
||||||
|
done
|
||||||
|
|
||||||
|
LICENSE:
|
||||||
|
cp $(PORT_DIR)/src/lib/openssl/LICENSE $@
|
1
repos/libports/recipes/src/libcrypto/hash
Normal file
1
repos/libports/recipes/src/libcrypto/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2017-11-13 9e458a30ecbc3101f1a743a300521eeb09e958ea
|
2
repos/libports/recipes/src/libcrypto/used_apis
Normal file
2
repos/libports/recipes/src/libcrypto/used_apis
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libc
|
||||||
|
so
|
Loading…
Reference in New Issue
Block a user