summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2026-07-22 16:21:06 -0300
committerGitHub <noreply@github.com>2026-07-22 16:21:06 -0300
commit09b9faebbceeb505451ec76d00ff62d0244e905e (patch)
treebddebe8076883f7ea9651cbdf9cd9b098252346d /recipes-connectivity
parent4cb3bde47a69ad1e59519654af81a63d78856280 (diff)
parent8a6c47f744596d6e574982f33c3a9ef2442b5bf2 (diff)
downloadmeta-freescale-09b9faebbceeb505451ec76d00ff62d0244e905e.tar.gz
Merge pull request #2575 from lucianogdittgen/oelint-cleanup-11-recipe-metadata-7
oelint: Recipe metadata, do_install and split-package FILES cleanups
Diffstat (limited to 'recipes-connectivity')
-rw-r--r--recipes-connectivity/iproute2/iproute2_%.bbappend12
-rw-r--r--recipes-connectivity/mbedtls/mbedtls_3.6.5.bb13
2 files changed, 12 insertions, 13 deletions
diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend
index 660984d7a..b65640a81 100644
--- a/recipes-connectivity/iproute2/iproute2_%.bbappend
+++ b/recipes-connectivity/iproute2/iproute2_%.bbappend
@@ -1,11 +1,11 @@
1do_install:append:imx-generic-bsp () { 1do_install:append:imx-generic-bsp () {
2 install -d ${D}/usr/include/tc 2 install -d ${D}${includedir}/tc
3 cp -a ${B}/include ${D}/usr/include 3 cp -R ${B}/include ${D}${includedir}
4 cp -a ${B}/tc/*.h ${D}/usr/include/tc 4 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc
5} 5}
6 6
7do_install:append:qoriq-generic-bsp () { 7do_install:append:qoriq-generic-bsp () {
8 install -d ${D}/usr/include/tc 8 install -d ${D}${includedir}/tc
9 cp -a ${B}/include ${D}/usr/include 9 cp -R ${B}/include ${D}${includedir}
10 cp -a ${B}/tc/*.h ${D}/usr/include/tc 10 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc
11} 11}
diff --git a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
index bac945374..87c89d4ec 100644
--- a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
+++ b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
@@ -16,11 +16,12 @@ DESCRIPTION = "mbedtls is a lean open source crypto library \
16" 16"
17 17
18HOMEPAGE = "https://tls.mbed.org/" 18HOMEPAGE = "https://tls.mbed.org/"
19SECTION = "libs"
19 20
20LICENSE = "Apache-2.0 OR GPL-2.0-or-later" 21LICENSE = "Apache-2.0 OR GPL-2.0-or-later"
21LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" 22LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d"
22 23
23SECTION = "libs" 24PROVIDES += "polarssl"
24 25
25SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6;tag=v${PV} \ 26SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6;tag=v${PV} \
26 file://run-ptest \ 27 file://run-ptest \
@@ -44,11 +45,9 @@ PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF"
44# For now the only way to enable PSA is to explicitly pass a -D via CFLAGS 45# For now the only way to enable PSA is to explicitly pass a -D via CFLAGS
45CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" 46CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}"
46 47
47PROVIDES += "polarssl"
48RPROVIDES:${PN} = "polarssl"
49
50PACKAGES =+ "${PN}-programs" 48PACKAGES =+ "${PN}-programs"
51FILES:${PN}-programs = "${bindir}/" 49FILES:${PN}-programs += "${bindir}/"
50RPROVIDES:${PN} = "polarssl"
52 51
53ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" 52ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}"
54ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" 53ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello"
@@ -72,7 +71,7 @@ sysroot_stage_all:append() {
72do_install_ptest () { 71do_install_ptest () {
73 install -d ${D}${PTEST_PATH}/tests 72 install -d ${D}${PTEST_PATH}/tests
74 install -d ${D}${PTEST_PATH}/framework 73 install -d ${D}${PTEST_PATH}/framework
75 cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ 74 install -m 0755 ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/
76 find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete 75 find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete
77 cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/ 76 cp -R ${S}/framework/data_files ${D}${PTEST_PATH}/framework/
78} 77}