165 lines
8.0 KiB
Plaintext
165 lines
8.0 KiB
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH := "${LAYERDIR}:${BBPATH}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-wolfssl/wolfssl/*.bb \
|
|
${LAYERDIR}/recipes-wolfssl/wolfssl/*.bbappend"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfssl', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssl/*.bb ${LAYERDIR}/recipes-wolfssl/wolfssl/*.bbappend', \
|
|
'', d)}"
|
|
|
|
#Comment out if you don't want to use wolfclu
|
|
#BBFILES += "${LAYERDIR}/recipes-wolfssl/wolfclu/*.bb \
|
|
# ${LAYERDIR}/recipes-wolfssl/wolfclu/*.bbappend"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfclu', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfclu/*.bb ${LAYERDIR}/recipes-wolfssl/wolfclu/*.bbappend', \
|
|
'', d)}"
|
|
|
|
# Uncomment if wanting to use example test/benchmark for wolfcrypt
|
|
#BBFILES += "${LAYERDIR}/recipes-examples/wolfcrypt/wolfcryptbenchmark/*.bb \
|
|
# ${LAYERDIR}/recipes-examples/wolfcrypt/wolfcryptbenchmark/*.bbappend"
|
|
#BBFILES += "${LAYERDIR}/recipes-examples/wolfcrypt/wolfcrypttest/*.bb \
|
|
# ${LAYERDIR}/recipes-examples/wolfcrypt/wolfcrypttest/*.bbappend"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfcryptbenchmark', \
|
|
'${LAYERDIR}/recipes-examples/wolfcrypt/wolfcryptbenchmark/*.bb ${LAYERDIR}/recipes-examples/wolfcrypt/wolfcryptbenchmark/*.bbappend', \
|
|
'', d)}"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfcrypttest', \
|
|
'${LAYERDIR}/recipes-examples/wolfcrypt/wolfcrypttest/*.bb ${LAYERDIR}/recipes-examples/wolfcrypt/wolfcrypttest/*.bbappend' , \
|
|
'', d)}"
|
|
|
|
|
|
# Uncomment if building wolfssh with wolfssl
|
|
#BBFILES += "${LAYERDIR}/recipes-wolfssl/wolfssh/*.bb \
|
|
# ${LAYERDIR}/recipes-wolfssl/wolfssh/*.bbappend"
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfssh', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssh/*.bb ${LAYERDIR}/recipes-wolfssl/wolfssh/*.bbappend', \
|
|
'', d)}"
|
|
|
|
|
|
# Uncomment if building wolfmqtt with wolfssl
|
|
#BBFILES += "${LAYERDIR}/recipes-wolfssl/wolfmqtt/*.bb \
|
|
# ${LAYERDIR}/recipes-wolfssl/wolfmqtt/*.bbappend"
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfmqtt', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfmqtt/*.bb ${LAYERDIR}/recipes-wolfssl/wolfmqtt/*.bbappend', \
|
|
'', d)}"
|
|
|
|
|
|
# Uncomment if building wolftpm with wolfssl
|
|
#BBFILES += "${LAYERDIR}/recipes-wolfssl/wolftpm/*.bb \
|
|
# ${LAYERDIR}/recipes-wolfssl/wolftpm/*.bbappend"
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolftpm', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolftpm/*.bb ${LAYERDIR}/recipes-wolfssl/wolftpm/*.bbappend', \
|
|
'', d)}"
|
|
|
|
# Uncomment if building wolfssl-py
|
|
#BBFILES += "${LAYERDIR}/recipes-wolfssl/wolfssl-py/*.bb \
|
|
# ${LAYERDIR}/recipes-wolfssl/wolfssl-py/*.bbappend"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfssl-py', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssl-py/*.bb ${LAYERDIR}/recipes-wolfssl/wolfssl-py/*.bbappend', \
|
|
'', d)}"
|
|
|
|
# Uncomment if building wolfcrypt-py
|
|
#BBFILES += "${LAYERDIR}/recipes-wolfssl/wolfcrypt-py/*.bb \
|
|
# ${LAYERDIR}/recipes-wolfssl/wolfcrypt-py/*.bbappend"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolfcrypt-py', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfcrypt-py/*.bb ${LAYERDIR}/recipes-wolfssl/wolfcrypt-py/*.bbappend', \
|
|
'', d)}"
|
|
|
|
|
|
# Uncomment if wanting to use example tests for wolfssl-py/wolfcrypt-py
|
|
#BBFILES += "${LAYERDIR}/recipes-examples/wolfssl-py/wolf-py-tests/*.bb \
|
|
# ${LAYERDIR}/recipes-examples/wolfssl-py/wolf-py-tests/*.bbappend"
|
|
|
|
BBFILES += "${@bb.utils.contains('IMAGE_INSTALL', \
|
|
'wolf-py-tests', \
|
|
'${LAYERDIR}/recipes-examples/wolfssl-py/wolf-py-tests/*.bb ${LAYERDIR}/recipes-examples/wolfssl-py/wolf-py-tests/*.bbappend', \
|
|
'', d)}"
|
|
|
|
|
|
|
|
# Uncomment if building bind with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-connectivity/bind/*.bbappend"
|
|
|
|
# Uncomment if building curl with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-support/curl/*.bbappend"
|
|
|
|
# Uncomment if building libssh2 with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-support/libssh2/*.bbappend"
|
|
|
|
# Uncomment if building net-snmp with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-protocols/net-snmp/*.bbappend"
|
|
|
|
# Uncomment if building OpenSSH with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-connectivity/openssh/*.bbappend"
|
|
|
|
# Uncomment if building rsyslog with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-extended/rsyslog/*.bbappend"
|
|
|
|
# Uncomment if building socat with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-connectivity/socat/*.bbappend"
|
|
|
|
# Uncomment if building strongSwan with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-support/strongswan/*.bbappend"
|
|
|
|
# Uncomment if building tcpdump with wolfSSL.
|
|
#BBFILES += "${LAYERDIR}/recipes-support/tcpdump/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "wolfssl"
|
|
BBFILE_PATTERN_wolfssl := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_wolfssl = "5"
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFSSL_TYPE', \
|
|
'fips', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssl/commercial/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolfssl/commercial/fips-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFSSL_TYPE', \
|
|
'fips-ready', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssl/fips-ready/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolfssl/fips-ready/fips-ready-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFSSL_TYPE', \
|
|
'commercial', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssl/commercial/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolfssl/commercial/commercial-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFSSH_TYPE', \
|
|
'commercial', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfssh/commercial/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolfssh/commercial/commercial-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFMQTT_TYPE', \
|
|
'commerical', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfmqtt/commercial/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolfmqtt/commercial/commercial-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFCLU_TYPE', \
|
|
'commercial', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolfclu/commercial/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolfclu/commercial/commercial-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
BBFILES += "${@bb.utils.contains('WOLFTPM_TYPE', \
|
|
'commercial', \
|
|
'${LAYERDIR}/recipes-wolfssl/wolftpm/commercial/*.bbappend ${LAYERDIR}/recipes-wolfssl/wolftpm/commercial/commercial-details/*.bbappend', \
|
|
'', d)}"
|
|
|
|
|
|
# Versions of OpenEmbedded-Core which layer has been tested against
|
|
LAYERSERIES_COMPAT_wolfssl = "sumo thud warrior zeus hardknott gatesgarth dunfell kirkstone nanbield"
|