libcamera: ipa: Move key generation to utils
Move the GPLv2 utilities used for generating public and private keys to the utilities subtree. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
131629d3a2
commit
4af45819d0
5 changed files with 4 additions and 2 deletions
|
@ -100,7 +100,6 @@ version_cpp = vcs_tag(command : [gen_version, meson.build_root()],
|
||||||
libcamera_sources += version_cpp
|
libcamera_sources += version_cpp
|
||||||
|
|
||||||
if ipa_sign_module
|
if ipa_sign_module
|
||||||
gen_ipa_pub_key = files('gen-ipa-pub-key.py')
|
|
||||||
ipa_pub_key_cpp = custom_target('ipa_pub_key_cpp',
|
ipa_pub_key_cpp = custom_target('ipa_pub_key_cpp',
|
||||||
input : [ ipa_priv_key, 'ipa_pub_key.cpp.in' ],
|
input : [ ipa_priv_key, 'ipa_pub_key.cpp.in' ],
|
||||||
output : 'ipa_pub_key.cpp',
|
output : 'ipa_pub_key.cpp',
|
||||||
|
|
|
@ -4,7 +4,6 @@ subdir('android')
|
||||||
|
|
||||||
openssl = find_program('openssl', required : true)
|
openssl = find_program('openssl', required : true)
|
||||||
if openssl.found()
|
if openssl.found()
|
||||||
gen_ipa_priv_key = files('ipa/gen-ipa-priv-key.sh')
|
|
||||||
ipa_priv_key = custom_target('ipa-priv-key',
|
ipa_priv_key = custom_target('ipa-priv-key',
|
||||||
output : [ 'ipa-priv-key.pem' ],
|
output : [ 'ipa-priv-key.pem' ],
|
||||||
command : [ gen_ipa_priv_key, '@OUTPUT@' ])
|
command : [ gen_ipa_priv_key, '@OUTPUT@' ])
|
||||||
|
|
|
@ -6,3 +6,7 @@ subdir('ipu3')
|
||||||
gen_controls = files('gen-controls.py')
|
gen_controls = files('gen-controls.py')
|
||||||
gen_formats = files('gen-formats.py')
|
gen_formats = files('gen-formats.py')
|
||||||
gen_header = files('gen-header.sh')
|
gen_header = files('gen-header.sh')
|
||||||
|
|
||||||
|
## Module signing
|
||||||
|
gen_ipa_priv_key = files('gen-ipa-priv-key.sh')
|
||||||
|
gen_ipa_pub_key = files('gen-ipa-pub-key.py')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue