aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-07-29 22:20:02 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-04 00:13:37 +0200
commitcfb929fbfa6d1d568e9a4beeba3c856623e86136 (patch)
treeba7c063b860ea86e6e046ade803f86ab3b086653 /support
parent3b67e8e664d4087c3cf6573bd327ae5c4a196d67 (diff)
downloadbuildroot-cfb929fbfa6d1d568e9a4beeba3c856623e86136.tar.gz
buildroot-cfb929fbfa6d1d568e9a4beeba3c856623e86136.tar.bz2
core: allow br2-external trees to provide opensl
Similar to toolchains and jpeg, we now offer a way for br2-external trees to provide their openssl implementation, which gets included in the openssl choice. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/br2-external9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/scripts/br2-external b/support/scripts/br2-external
index 82c8afd64c..171526f8c8 100755
--- a/support/scripts/br2-external
+++ b/support/scripts/br2-external
@@ -159,6 +159,7 @@ do_kconfig() {
menus
toolchains
jpeg
+ openssl
)
for br2 in "${items[@]}"; do
@@ -214,6 +215,14 @@ do_kconfig() {
else
printf '# No jpeg from: %s\n\n' "${br2_desc}"
fi >>"${outputdir}/.br2-external.in.jpeg"
+
+ if [ -f "${br2_ext}/provides/openssl.in" ]; then
+ printf 'comment "openssl from: %s"\n' "${br2_desc}"
+ printf 'source "%s/provides/openssl.in"\n' "${br2_ext}"
+ printf '\n'
+ else
+ printf '# No openssl from: %s\n\n' "${br2_desc}"
+ fi >>"${outputdir}/.br2-external.in.openssl"
done
printf 'endmenu\n' >>"${outputdir}/.br2-external.in.menus"