libcrypto: use platform specific mk files
Instead of checking the target platform in the mk file use the common pattern of providing a mk file for each platform. Fixes #1236.devel
parent
5322714183
commit
1f1b7f7158
@ -0,0 +1,6 @@
|
||||
# has to be the first path because it includes openssl/opensslconf.h
|
||||
INC_DIR += $(REP_DIR)/src/lib/openssl/arm
|
||||
|
||||
CC_OPTS += -DL_ENDIAN
|
||||
|
||||
include $(REP_DIR)/lib/mk/libcrypto.inc
|
@ -0,0 +1,6 @@
|
||||
# has to be the first path because it includes openssl/opensslconf.h
|
||||
INC_DIR += $(REP_DIR)/src/lib/openssl/x86_32
|
||||
|
||||
CC_OPTS += -DL_ENDIAN
|
||||
|
||||
include $(REP_DIR)/lib/mk/libcrypto.inc
|
@ -0,0 +1,11 @@
|
||||
# has to be the first path because it includes openssl/opensslconf.h
|
||||
INC_DIR += $(REP_DIR)/src/lib/openssl/x86_64
|
||||
|
||||
CC_OPTS += -DL_ENDIAN
|
||||
|
||||
SRC_S += modexp512.s
|
||||
SRC_S += rc4_md5.s
|
||||
|
||||
vpath %.s $(call select_from_ports,openssl)/src/lib/openssl/x86_64
|
||||
|
||||
include $(REP_DIR)/lib/mk/libcrypto.inc
|
Loading…
Reference in New Issue