diff options
author | Ross Burton <ross@burtonini.com> | 2021-12-01 15:42:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-15 07:40:29 +0000 |
commit | 34be1b3bad7773ef088a0224b3b540b793dca249 (patch) | |
tree | 7ead2ad28587c5f7f3b52af2bdd7b11d0f12fbe1 /scripts | |
parent | 3a647ca0d190440f4a994995361de56d959599bb (diff) | |
download | poky-34be1b3bad7773ef088a0224b3b540b793dca249.tar.gz |
recipetool: extend curl detection when creating recipes
If a configure.ac uses LIBCURL_CHECK_CONFIG it wants curl.
(From OE-Core rev: 39e5b3b37c3a0116fb01be6183b320d9afea3bfe)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 16e830ca1352cee61e4ae4b98b1203f849bf71f3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/recipetool/create_buildsys.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py index 35a97c9345..5015634476 100644 --- a/scripts/lib/recipetool/create_buildsys.py +++ b/scripts/lib/recipetool/create_buildsys.py | |||
@@ -545,7 +545,7 @@ class AutotoolsRecipeHandler(RecipeHandler): | |||
545 | deps.append('zlib') | 545 | deps.append('zlib') |
546 | elif keyword in ('AX_CHECK_OPENSSL', 'AX_LIB_CRYPTO'): | 546 | elif keyword in ('AX_CHECK_OPENSSL', 'AX_LIB_CRYPTO'): |
547 | deps.append('openssl') | 547 | deps.append('openssl') |
548 | elif keyword == 'AX_LIB_CURL': | 548 | elif keyword in ('AX_LIB_CURL', 'LIBCURL_CHECK_CONFIG'): |
549 | deps.append('curl') | 549 | deps.append('curl') |
550 | elif keyword == 'AX_LIB_BEECRYPT': | 550 | elif keyword == 'AX_LIB_BEECRYPT': |
551 | deps.append('beecrypt') | 551 | deps.append('beecrypt') |
@@ -624,6 +624,7 @@ class AutotoolsRecipeHandler(RecipeHandler): | |||
624 | 'AX_CHECK_OPENSSL', | 624 | 'AX_CHECK_OPENSSL', |
625 | 'AX_LIB_CRYPTO', | 625 | 'AX_LIB_CRYPTO', |
626 | 'AX_LIB_CURL', | 626 | 'AX_LIB_CURL', |
627 | 'LIBCURL_CHECK_CONFIG', | ||
627 | 'AX_LIB_BEECRYPT', | 628 | 'AX_LIB_BEECRYPT', |
628 | 'AX_LIB_EXPAT', | 629 | 'AX_LIB_EXPAT', |
629 | 'AX_LIB_GCRYPT', | 630 | 'AX_LIB_GCRYPT', |