Silence parse-time bb.note() dispatch logs by switching to bb.debug(2, ...)

pull/161/head
Zackery Backman 2026-04-17 14:09:19 -06:00
parent 1d05b59a8f
commit 916f6d3d8a
42 changed files with 86 additions and 86 deletions

View File

@ -101,7 +101,7 @@ def wolfssl_conditional_require_mode(d, package_name, mode, inc_file=None):
bb.debug(2, f"{package_name}: {mode_var_name}='{current_mode_str}' does not contain '{single_mode}' - skipping")
continue
bb.note(f"{package_name}: {mode_var_name}='{current_mode_str}' contains '{single_mode}' mode - including {single_inc}")
bb.debug(2, f"{package_name}: {mode_var_name}='{current_mode_str}' contains '{single_mode}' mode - including {single_inc}")
full_inc_file = os.path.join(layerdir, single_inc)
bb.parse.mark_dependency(d, full_inc_file)
try:
@ -157,7 +157,7 @@ def wolfssl_conditional_require_flag(d, flag_name, inc_file):
return False
# Flag found in list - include the configuration
bb.note(f"{package_name}: {flags_var_name}='{current_flags_str}' contains '{flag_name}' flag - including {inc_file}")
bb.debug(2, f"{package_name}: {flags_var_name}='{current_flags_str}' contains '{flag_name}' flag - including {inc_file}")
layerdir = d.getVar('WOLFSSL_LAYERDIR')
if not layerdir:

View File

@ -74,11 +74,11 @@ def wolfssl_osp_conditional_include(d, feature_name, inc_file, allowed_providers
# Check if current provider is in the allowed list
if current_provider not in allowed_providers:
bb.note(f"{feature_name}: PREFERRED_PROVIDER is '{current_provider}', but only {allowed_providers} are supported - skipping wolfSSL backend")
bb.debug(2, f"{feature_name}: PREFERRED_PROVIDER is '{current_provider}', but only {allowed_providers} are supported - skipping wolfSSL backend")
return False
# Both conditions met - include the configuration
bb.note(f"{feature_name}: WOLFSSL_FEATURES enabled + provider '{current_provider}' allowed - enabling wolfSSL backend")
bb.debug(2, f"{feature_name}: WOLFSSL_FEATURES enabled + provider '{current_provider}' allowed - enabling wolfSSL backend")
# Resolve full path to include file
layer_dir = d.getVar('WOLFSSL_LAYERDIR')
@ -130,11 +130,11 @@ def wolfssl_conditional_include_ext(d, enable_for, inc_file, allowed_providers=N
# Check if current provider is in the allowed list
if current_provider not in allowed_providers:
bb.note(f"{enable_for}: PREFERRED_PROVIDER is '{current_provider}', but only {allowed_providers} are supported - skipping wolfSSL backend")
bb.debug(2, f"{enable_for}: PREFERRED_PROVIDER is '{current_provider}', but only {allowed_providers} are supported - skipping wolfSSL backend")
return False
# All conditions met - include the configuration
bb.note(f"{enable_for}: IMAGE_INSTALL/WOLFSSL_FEATURES enabled + provider '{current_provider}' allowed - enabling wolfSSL backend")
bb.debug(2, f"{enable_for}: IMAGE_INSTALL/WOLFSSL_FEATURES enabled + provider '{current_provider}' allowed - enabling wolfSSL backend")
# Resolve full path to include file
layer_dir = d.getVar('WOLFSSL_LAYERDIR')
@ -213,7 +213,7 @@ def wolfssl_osp_include_if_provider(d, inc_file, allowed_providers):
bb.debug(2, f"Current provider '{current_provider}' not in {allowed_providers} - skipping configuration")
return False
bb.note(f"Provider '{current_provider}' matches - including {inc_file}")
bb.debug(2, f"Provider '{current_provider}' matches - including {inc_file}")
# Resolve full path to include file
layer_dir = d.getVar('WOLFSSL_LAYERDIR')

View File

@ -3,7 +3,7 @@ def curl_get_wolfprovider_fips_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("curl-enable-wolfprovider-fips.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"curl-enable-wolfprovider-fips.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def curl_get_wolfprovider_fips_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/curl/%s/curl-enable-wolfprovider-fips-legacy.inc' % codename)
bb.note("curl-enable-wolfprovider-fips.inc: Including file: %s" % inc_file)
bb.debug(2,"curl-enable-wolfprovider-fips.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def gnupg_get_libgcrypt_wolfssl_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("gnupg-enable-libgcrypt-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"gnupg-enable-libgcrypt-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def gnupg_get_libgcrypt_wolfssl_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/gnupg/%s/gnupg-enable-libgcrypt-wolfssl-legacy.inc' % codename)
bb.note("gnupg-enable-libgcrypt-wolfssl.inc: Including file: %s" % inc_file)
bb.debug(2,"gnupg-enable-libgcrypt-wolfssl.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def gnutls_get_wolfssl_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("gnutls-enable-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"gnutls-enable-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def gnutls_get_wolfssl_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/gnutls/%s/gnutls-enable-wolfssl-legacy.inc' % codename)
bb.note("gnutls-enable-wolfssl.inc: Including file: %s" % inc_file)
bb.debug(2,"gnutls-enable-wolfssl.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def libgcrypt_get_wolfssl_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("libgcrypt-enable-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"libgcrypt-enable-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def libgcrypt_get_wolfssl_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/libgcrypt/%s/libgcrypt-enable-wolfssl-legacy.inc' % codename)
bb.note("libgcrypt-enable-wolfssl.inc: Including file: %s" % inc_file)
bb.debug(2,"libgcrypt-enable-wolfssl.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def libssh_get_libgcrypt_wolfssl_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("libssh-enable-libgcrypt-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"libssh-enable-libgcrypt-wolfssl.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def libssh_get_libgcrypt_wolfssl_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/libssh/%s/libssh-enable-libgcrypt-wolfssl-legacy.inc' % codename)
bb.note("libssh-enable-libgcrypt-wolfssl.inc: Including file: %s" % inc_file)
bb.debug(2,"libssh-enable-libgcrypt-wolfssl.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def nettle_get_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("nettle.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"nettle.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def nettle_get_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/nettle/%s/nettle-legacy.inc' % codename)
bb.note("nettle.inc: Including file: %s" % inc_file)
bb.debug(2,"nettle.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def rsyslog_get_fips_crypto_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("rsyslog-enable-fips-crypto.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"rsyslog-enable-fips-crypto.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -23,7 +23,7 @@ def rsyslog_get_fips_crypto_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/rsyslog/%s/rsyslog-enable-fips-crypto-legacy.inc' % codename)
bb.note("rsyslog-enable-fips-crypto.inc: Including file: %s" % inc_file)
bb.debug(2,"rsyslog-enable-fips-crypto.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfcrypt_py_get_tests_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfcrypt-py-enable-tests.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfcrypt-py-enable-tests.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfcrypt_py_get_tests_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolf-py-tests/wolfcrypt-py-enable-tests-legacy.inc')
bb.note("wolfcrypt-py-enable-tests.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfcrypt-py-enable-tests.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolf_py_tests_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolf-py-tests.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolf-py-tests.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolf_py_tests_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolf-py-tests/wolfssl-enable-wolf-py-tests-legacy.inc')
bb.note("wolfssl-enable-wolf-py-tests.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolf-py-tests.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_py_get_tests_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-py-enable-tests.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-py-enable-tests.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_py_get_tests_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolf-py-tests/wolfssl-py-enable-tests-legacy.inc')
bb.note("wolfssl-py-enable-tests.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-py-enable-tests.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfclu_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfclu.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfclu.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfclu_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfclu/wolfssl-enable-wolfclu-legacy.inc')
bb.note("wolfssl-enable-wolfclu.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfclu.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfcrypt_py_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfcrypt-py.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfcrypt-py.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfcrypt_py_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfcrypt-py/wolfssl-enable-wolfcrypt-py-legacy.inc')
bb.note("wolfssl-enable-wolfcrypt-py.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfcrypt-py.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfcryptbenchmark_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfcryptbenchmark.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfcryptbenchmark.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfcryptbenchmark_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfcryptbenchmark/wolfssl-enable-wolfcryptbenchmark-legacy.inc')
bb.note("wolfssl-enable-wolfcryptbenchmark.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfcryptbenchmark.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfcrypttest_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfcrypttest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfcrypttest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfcrypttest_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfcrypttest/wolfssl-enable-wolfcrypttest-legacy.inc')
bb.note("wolfssl-enable-wolfcrypttest.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfcrypttest.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def openssl_get_wolfengine_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("openssl-enable-wolfengine.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"openssl-enable-wolfengine.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def openssl_get_wolfengine_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfengine/openssl/openssl-enable-wolfengine-legacy.inc')
bb.note("openssl-enable-wolfengine.inc: Including file: %s" % inc_file)
bb.debug(2,"openssl-enable-wolfengine.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfengine_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfengine.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfengine.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfengine_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfengine/wolfssl-enable-wolfengine-legacy.inc')
bb.note("wolfssl-enable-wolfengine.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfengine.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfengine_get_test_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfengine-enable-test.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfengine-enable-test.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfengine_get_test_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfenginetest/wolfengine-enable-test-legacy.inc')
bb.note("wolfengine-enable-test.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfengine-enable-test.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfenginetest_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfenginetest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfenginetest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfenginetest_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfenginetest/wolfssl-enable-wolfenginetest-legacy.inc')
bb.note("wolfssl-enable-wolfenginetest.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfenginetest.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfpkcs11_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfpkcs11.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfpkcs11.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfpkcs11_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfpkcs11/wolfssl-enable-wolfpkcs11-legacy.inc')
bb.note("wolfssl-enable-wolfpkcs11.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfpkcs11.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def openssh_get_wolfprovider_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("openssh-enable-wolfprovider.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"openssh-enable-wolfprovider.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -34,7 +34,7 @@ def openssh_get_wolfprovider_inc(d):
# If no codename detected, use scarthgap as default
inc_file = os.path.join(layerdir, 'inc/wolfprovider/openssh/scarthgap/openssh-enable-wolfprovider-%s.inc' % file_type)
bb.note("openssh-enable-wolfprovider.inc: Including file: %s" % inc_file)
bb.debug(2,"openssh-enable-wolfprovider.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def openssl_get_wolfprovider_replace_default_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("openssl-enable-wolfprovider-replace-default.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"openssl-enable-wolfprovider-replace-default.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -34,7 +34,7 @@ def openssl_get_wolfprovider_replace_default_inc(d):
# If no codename detected, use scarthgap as default
inc_file = os.path.join(layerdir, 'inc/wolfprovider/openssl/scarthgap/openssl-enable-wolfprovider-replace-default-%s.inc' % file_type)
bb.note("openssl-enable-wolfprovider-replace-default.inc: Including file: %s" % inc_file)
bb.debug(2,"openssl-enable-wolfprovider-replace-default.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def openssl_get_wolfprovider_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("openssl-enable-wolfprovider.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"openssl-enable-wolfprovider.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -34,7 +34,7 @@ def openssl_get_wolfprovider_inc(d):
# If no codename detected, use scarthgap as default
inc_file = os.path.join(layerdir, 'inc/wolfprovider/openssl/scarthgap/openssl-enable-wolfprovider-%s.inc' % file_type)
bb.note("openssl-enable-wolfprovider.inc: Including file: %s" % inc_file)
bb.debug(2,"openssl-enable-wolfprovider.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfprovider_get_replace_default_unittest_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfprovider-enable-replace-default-unittest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfprovider-enable-replace-default-unittest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfprovider_get_replace_default_unittest_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfprovider/wolfprovider-enable-replace-default-unittest-legacy.inc')
bb.note("wolfprovider-enable-replace-default-unittest.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfprovider-enable-replace-default-unittest.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfprovider_get_unittest_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfprovider-enable-unittest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfprovider-enable-unittest.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfprovider_get_unittest_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfprovider/wolfprovider-enable-unittest-legacy.inc')
bb.note("wolfprovider-enable-unittest.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfprovider-enable-unittest.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfprovider_fips_ready_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfprovider-fips-ready.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfprovider-fips-ready.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfprovider_fips_ready_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfprovider/wolfssl-enable-wolfprovider-fips-ready-legacy.inc')
bb.note("wolfssl-enable-wolfprovider-fips-ready.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfprovider-fips-ready.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfprovider_fips_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfprovider-fips.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfprovider-fips.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfprovider_fips_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfprovider/wolfssl-enable-wolfprovider-fips-legacy.inc')
bb.note("wolfssl-enable-wolfprovider-fips.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfprovider-fips.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfprovider_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfprovider.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfprovider.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfprovider_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfprovider/wolfssl-enable-wolfprovider-legacy.inc')
bb.note("wolfssl-enable-wolfprovider.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfprovider.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfssh_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfssh.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfssh.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfssh_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssh/wolfssl-enable-wolfssh-legacy.inc')
bb.note("wolfssl-enable-wolfssh.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfssh.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_fips_ready_gnutls_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-fips-ready/wolfssl-enable-gnutls.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-fips-ready/wolfssl-enable-gnutls.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_fips_ready_gnutls_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-fips-ready/wolfssl-enable-gnutls-legacy.inc')
bb.note("wolfssl-fips-ready/wolfssl-enable-gnutls.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-fips-ready/wolfssl-enable-gnutls.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_fips_ready_libgcrypt_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-fips-ready/wolfssl-enable-libgcrypt.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-fips-ready/wolfssl-enable-libgcrypt.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_fips_ready_libgcrypt_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-fips-ready/wolfssl-enable-libgcrypt-legacy.inc')
bb.note("wolfssl-fips-ready/wolfssl-enable-libgcrypt.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-fips-ready/wolfssl-enable-libgcrypt.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_commercial_gcs_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-commercial-gcs.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-commercial-gcs.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_commercial_gcs_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-fips/wolfssl-commercial-gcs-legacy.inc')
bb.note("wolfssl-commercial-gcs.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-commercial-gcs.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_gnutls_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-gnutls.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-gnutls.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_gnutls_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-fips/wolfssl-enable-gnutls-legacy.inc')
bb.note("wolfssl-enable-gnutls.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-gnutls.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_libgcrypt_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-libgcrypt.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-libgcrypt.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_libgcrypt_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-fips/wolfssl-enable-libgcrypt-legacy.inc')
bb.note("wolfssl-enable-libgcrypt.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-libgcrypt.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_linuxkm_get_sign_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-linuxkm-sign-module.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-linuxkm-sign-module.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
use_modern = False
codename = None
@ -22,7 +22,7 @@ def wolfssl_linuxkm_get_sign_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-linuxkm/%s/wolfssl-linuxkm-sign-module-legacy.inc' % codename)
bb.note("wolfssl-linuxkm-sign-module.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-linuxkm-sign-module.inc: Including file: %s" % inc_file)
return inc_file
require ${@wolfssl_linuxkm_get_sign_inc(d)}

View File

@ -3,7 +3,7 @@ def wolfssl_get_manual_config_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-manual-config.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-manual-config.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_manual_config_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-manual-config-legacy.inc')
bb.note("wolfssl-manual-config.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-manual-config.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolfssl_py_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolfssl-py.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolfssl-py.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolfssl_py_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolfssl-py/wolfssl-enable-wolfssl-py-legacy.inc')
bb.note("wolfssl-enable-wolfssl-py.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolfssl-py.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolftpm_wrap_test_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolftpm-wrap-test.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolftpm-wrap-test.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolftpm_wrap_test_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolftpm-tests/wolfssl-enable-wolftpm-wrap-test-legacy.inc')
bb.note("wolfssl-enable-wolftpm-wrap-test.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolftpm-wrap-test.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolftpm_get_wrap_test_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolftpm-enable-wrap-test.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolftpm-enable-wrap-test.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolftpm_get_wrap_test_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolftpm-tests/wolftpm-enable-wrap-test-legacy.inc')
bb.note("wolftpm-enable-wrap-test.inc: Including file: %s" % inc_file)
bb.debug(2,"wolftpm-enable-wrap-test.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -3,7 +3,7 @@ def wolfssl_get_wolftpm_inc(d):
import os
layerseries = d.getVar('LAYERSERIES_CORENAMES') or ""
bb.note("wolfssl-enable-wolftpm.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
bb.debug(2,"wolfssl-enable-wolftpm.inc: LAYERSERIES_CORENAMES = %s" % layerseries)
# Check if version is 3.1 or newer (dunfell and later)
use_modern = False
@ -21,7 +21,7 @@ def wolfssl_get_wolftpm_inc(d):
else:
inc_file = os.path.join(layerdir, 'inc/wolftpm/wolfssl-enable-wolftpm-legacy.inc')
bb.note("wolfssl-enable-wolftpm.inc: Including file: %s" % inc_file)
bb.debug(2,"wolfssl-enable-wolftpm.inc: Including file: %s" % inc_file)
return inc_file
# Include the appropriate file

View File

@ -14,7 +14,7 @@ python __anonymous() {
wolfssl_features = d.getVar('WOLFSSL_FEATURES') or ''
if 'libgcrypt' in wolfssl_features.split():
bb.note("libgcrypt in WOLFSSL_FEATURES - configuring wolfssl-fips for libgcrypt support")
bb.debug(2, "libgcrypt in WOLFSSL_FEATURES - configuring wolfssl-fips for libgcrypt support")
# Use the helper to include the configuration
wolfssl_conditional_require(d, 'libgcrypt', 'inc/wolfssl-fips/wolfssl-enable-libgcrypt.inc')
}