[libcamera-devel] [PATCH v2 3/4] src: meson: Rename ipa_gen_priv_key to gen_ipa_priv_key

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Sep 23 16:39:48 CEST 2020


Refactor the naming of the custom command variable to match the style
used in the other custom target generators, and the name of the script.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

---
I've chosen to keep this as a separate patch to keep the rename and move
distinct.
---
 src/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/meson.build b/src/meson.build
index 0c5b64d68c15..db155e68e848 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -4,10 +4,10 @@ subdir('android')
 
 openssl = find_program('openssl', required : true)
 if openssl.found()
-    ipa_gen_priv_key = files('ipa/gen-ipa-priv-key.sh')
+    gen_ipa_priv_key = files('ipa/gen-ipa-priv-key.sh')
     ipa_priv_key = custom_target('ipa-priv-key',
                                  output : [ 'ipa-priv-key.pem' ],
-                                 command : [ ipa_gen_priv_key, '@OUTPUT@' ])
+                                 command : [ gen_ipa_priv_key, '@OUTPUT@' ])
     config_h.set('HAVE_IPA_PUBKEY', 1)
     ipa_sign_module = true
 else
-- 
2.25.1



More information about the libcamera-devel mailing list