diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2026-07-22 16:21:06 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-22 16:21:06 -0300 |
| commit | 09b9faebbceeb505451ec76d00ff62d0244e905e (patch) | |
| tree | bddebe8076883f7ea9651cbdf9cd9b098252346d /recipes-connectivity | |
| parent | 4cb3bde47a69ad1e59519654af81a63d78856280 (diff) | |
| parent | 8a6c47f744596d6e574982f33c3a9ef2442b5bf2 (diff) | |
| download | meta-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_%.bbappend | 12 | ||||
| -rw-r--r-- | recipes-connectivity/mbedtls/mbedtls_3.6.5.bb | 13 |
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 @@ | |||
| 1 | do_install:append:imx-generic-bsp () { | 1 | do_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 | ||
| 7 | do_install:append:qoriq-generic-bsp () { | 7 | do_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 | ||
| 18 | HOMEPAGE = "https://tls.mbed.org/" | 18 | HOMEPAGE = "https://tls.mbed.org/" |
| 19 | SECTION = "libs" | ||
| 19 | 20 | ||
| 20 | LICENSE = "Apache-2.0 OR GPL-2.0-or-later" | 21 | LICENSE = "Apache-2.0 OR GPL-2.0-or-later" |
| 21 | LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" | 22 | LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" |
| 22 | 23 | ||
| 23 | SECTION = "libs" | 24 | PROVIDES += "polarssl" |
| 24 | 25 | ||
| 25 | SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6;tag=v${PV} \ | 26 | SRC_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 |
| 45 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" | 46 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" |
| 46 | 47 | ||
| 47 | PROVIDES += "polarssl" | ||
| 48 | RPROVIDES:${PN} = "polarssl" | ||
| 49 | |||
| 50 | PACKAGES =+ "${PN}-programs" | 48 | PACKAGES =+ "${PN}-programs" |
| 51 | FILES:${PN}-programs = "${bindir}/" | 49 | FILES:${PN}-programs += "${bindir}/" |
| 50 | RPROVIDES:${PN} = "polarssl" | ||
| 52 | 51 | ||
| 53 | ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" | 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" |
| @@ -72,7 +71,7 @@ sysroot_stage_all:append() { | |||
| 72 | do_install_ptest () { | 71 | do_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 | } |
