diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/mbedtls')
-rw-r--r-- | meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb (renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb) | 5 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.3.1.bb (renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb) | 18 |
2 files changed, 9 insertions, 14 deletions
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb index 301e655989..950c1ff52d 100644 --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb | |||
@@ -22,8 +22,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" | |||
22 | 22 | ||
23 | SECTION = "libs" | 23 | SECTION = "libs" |
24 | 24 | ||
25 | S = "${WORKDIR}/git" | 25 | SRCREV = "2fc8413bfcb51354c8e679141b17b3f1a5942561" |
26 | SRCREV = "5a764e5555c64337ed17444410269ff21cb617b1" | ||
27 | SRC_URI = "git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-2.28 \ | 26 | SRC_URI = "git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-2.28 \ |
28 | file://run-ptest \ | 27 | file://run-ptest \ |
29 | " | 28 | " |
@@ -50,7 +49,7 @@ RPROVIDES:${PN} = "polarssl" | |||
50 | PACKAGES =+ "${PN}-programs" | 49 | PACKAGES =+ "${PN}-programs" |
51 | FILES:${PN}-programs = "${bindir}/" | 50 | FILES:${PN}-programs = "${bindir}/" |
52 | 51 | ||
53 | ALTERNATIVE:${PN}-programs = "hello" | 52 | ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" |
54 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" | 53 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" |
55 | 54 | ||
56 | BBCLASSEXTEND = "native nativesdk" | 55 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.3.1.bb index 92a2de82a3..0b64d661c4 100644 --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.3.1.bb | |||
@@ -22,14 +22,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" | |||
22 | 22 | ||
23 | SECTION = "libs" | 23 | SECTION = "libs" |
24 | 24 | ||
25 | S = "${WORKDIR}/git" | 25 | SRC_URI = "git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=main;tag=v${PV} \ |
26 | SRC_URI = "git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=master \ | 26 | file://run-ptest \ |
27 | git://github.com/Mbed-TLS/mbedtls-framework.git;protocol=https;branch=main;destsuffix=git/framework;name=framework \ | 27 | " |
28 | file://run-ptest" | ||
29 | 28 | ||
30 | SRCREV = "2ca6c285a0dd3f33982dd57299012dacab1ff206" | 29 | SRCREV = "6fb5120fde4ab889bea402f5ab230c720b0a3b9a" |
31 | SRCREV_framework = "750634d3a51eb9d61b59fd5d801546927c946588" | ||
32 | SRCREV_FORMAT .= "_framework" | ||
33 | 30 | ||
34 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 31 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
35 | 32 | ||
@@ -44,8 +41,6 @@ PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OF | |||
44 | PACKAGECONFIG[psa] = "" | 41 | PACKAGECONFIG[psa] = "" |
45 | PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" | 42 | PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" |
46 | 43 | ||
47 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:STRING=${libdir}" | ||
48 | |||
49 | # For now the only way to enable PSA is to explicitly pass a -D via CFLAGS | 44 | # For now the only way to enable PSA is to explicitly pass a -D via CFLAGS |
50 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" | 45 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" |
51 | 46 | ||
@@ -55,7 +50,7 @@ RPROVIDES:${PN} = "polarssl" | |||
55 | PACKAGES =+ "${PN}-programs" | 50 | PACKAGES =+ "${PN}-programs" |
56 | FILES:${PN}-programs = "${bindir}/" | 51 | FILES:${PN}-programs = "${bindir}/" |
57 | 52 | ||
58 | ALTERNATIVE:${PN}-programs = "hello" | 53 | ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" |
59 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" | 54 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" |
60 | 55 | ||
61 | BBCLASSEXTEND = "native nativesdk" | 56 | BBCLASSEXTEND = "native nativesdk" |
@@ -76,7 +71,8 @@ sysroot_stage_all:append() { | |||
76 | 71 | ||
77 | do_install_ptest () { | 72 | do_install_ptest () { |
78 | install -d ${D}${PTEST_PATH}/tests | 73 | install -d ${D}${PTEST_PATH}/tests |
74 | install -d ${D}${PTEST_PATH}/framework | ||
79 | cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ | 75 | cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ |
80 | find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete | 76 | find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete |
81 | cp -fR ${S}/tests/data_files ${D}${PTEST_PATH}/tests/ | 77 | cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/ |
82 | } | 78 | } |