package/libressl: move config options
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 30 Dec 2019 20:36:15 +0000 (21:36 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 31 Dec 2019 08:25:15 +0000 (09:25 +0100)
As we've recently done for libopenssl (openssl, the original),
move the libressl option to a libressl-specific Config.in.

The gain is minimal at best, but this is mostly for symetry with
libopenssl.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libressl/Config.in [new file with mode: 0644]
package/openssl/Config.in

diff --git a/package/libressl/Config.in b/package/libressl/Config.in
new file mode 100644 (file)
index 0000000..600829c
--- /dev/null
@@ -0,0 +1,9 @@
+if BR2_PACKAGE_LIBRESSL
+
+config BR2_PACKAGE_LIBRESSL_BIN
+       bool "openssl binary"
+       help
+         Install the openssl binary to the target file system. This is
+         a command line tool for doing various cryptographic stuff.
+
+endif
index 01d3549aef9e899ef0375af20853883dabbe5ee8..5ce91cb80f69f0d93f4a2320044684a01e68acb7 100644 (file)
@@ -44,15 +44,7 @@ config BR2_PACKAGE_LIBRESSL
 
          http://www.libressl.org/
 
-if BR2_PACKAGE_LIBRESSL
-
-config BR2_PACKAGE_LIBRESSL_BIN
-       bool "openssl binary"
-       help
-         Install the openssl binary to the target file system. This is
-         a command line tool for doing various cryptographic stuff.
-
-endif
+source "package/libressl/Config.in"
 
 # openssl from br2-external trees, if any
 source "$BR2_BASE_DIR/.br2-external.in.openssl"