summaryrefslogtreecommitdiffstats
path: root/engines/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-03-01 13:18:11 +0100
committerRichard Levitte <levitte@openssl.org>2019-03-05 08:46:51 +0100
commit469ce8ff48ef06b2e508d0c06a42ec86379b0032 (patch)
treeac10082555d063cfaaf2ac5f6c3abde8c7fe635a /engines/build.info
parente3b35d2b29e9446af83fcaa534e67e7b04a60d7a (diff)
Deprecate the "hw" configuration options, make "padlockeng" disablable
The "hw" and "hw-.*" style options are historical artifacts, sprung from the time when ENGINE was first designed, with hardware crypto accelerators and HSMs in mind. Today, these options have largely lost their value, replaced by options such as "no-{foo}eng" and "no-engine". This completes the transition by making "hw" and "hw-.*" deprecated, but automatically translated into more modern variants of the same. In the process, we get rid of the last regular expression in Configure's @disablables, a feature that was ill supported anyway. Also, padlock now gets treated just as every other engine. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8380)
Diffstat (limited to 'engines/build.info')
-rw-r--r--engines/build.info30
1 files changed, 16 insertions, 14 deletions
diff --git a/engines/build.info b/engines/build.info
index cf00a978cd..e5001c452c 100644
--- a/engines/build.info
+++ b/engines/build.info
@@ -1,9 +1,10 @@
IF[{- !$disabled{"engine"} -}]
-
IF[{- $disabled{"dynamic-engine"} -}]
LIBS=../libcrypto
- SOURCE[../libcrypto]=\
- e_padlock.c {- $target{padlock_asm_src} -}
+ IF[{- !$disabled{padlockeng} -}]
+ SOURCE[../libcrypto]=\
+ e_padlock.c {- $target{padlock_asm_src} -}
+ ENDIF
IF[{- !$disabled{capieng} -}]
SOURCE[../libcrypto]=e_capi.c
ENDIF
@@ -14,13 +15,18 @@ IF[{- !$disabled{"engine"} -}]
SOURCE[../libcrypto]=e_devcrypto.c
ENDIF
ELSE
- MODULES{engine}=padlock
- SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
- DEPEND[padlock]=../libcrypto
- INCLUDE[padlock]=../include
- IF[{- defined $target{shared_defflag} -}]
- SHARED_SOURCE[padlock]=padlock.ld
- GENERATE[padlock.ld]=../util/engines.num
+ IF[{- !$disabled{padlockeng} -}]
+ MODULES{engine}=padlock
+ SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
+ DEPEND[padlock]=../libcrypto
+ INCLUDE[padlock]=../include
+ GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \
+ $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
+ GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)
+ IF[{- defined $target{shared_defflag} -}]
+ SHARED_SOURCE[padlock]=padlock.ld
+ GENERATE[padlock.ld]=../util/engines.num
+ ENDIF
ENDIF
IF[{- !$disabled{capieng} -}]
MODULES{engine}=capi
@@ -69,8 +75,4 @@ IF[{- !$disabled{"engine"} -}]
GENERATE[ossltest.ld]=../util/engines.num
ENDIF
ENDIF
-
- GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \
- $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
- GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)
ENDIF