diff options
| author | Denys Dmytriyenko <denys@konsulko.com> | 2021-08-11 14:39:05 -0400 |
|---|---|---|
| committer | Yogesh Siraswar <yogeshs@ti.com> | 2021-08-17 11:21:54 +0000 |
| commit | e21c11b4a44417f67c78503bc3f954c175ac20e2 (patch) | |
| tree | e1d5252c9a4cc979e67e154abeb8dd7ad0b545a7 /classes | |
| parent | f56051c9a8cf09f54c43b81301073eed71bbda97 (diff) | |
| download | meta-ti-e21c11b4a44417f67c78503bc3f954c175ac20e2.tar.gz | |
meta-ti: convert to new override syntax in honister
Upcoming "honister" release changes the override syntax to improve usability,
speed and memory footprint. Update recipes with the new syntax and set layer
compatibility to honister.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Tested-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/ti-pdk-fetch.bbclass | 2 | ||||
| -rw-r--r-- | classes/ti-pdk.bbclass | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass index cacd71a4..e4c55e33 100644 --- a/classes/ti-pdk-fetch.bbclass +++ b/classes/ti-pdk-fetch.bbclass | |||
| @@ -18,7 +18,7 @@ TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git" | |||
| 18 | S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}" | 18 | S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}" |
| 19 | 19 | ||
| 20 | # Hard-link only required sources from PDK | 20 | # Hard-link only required sources from PDK |
| 21 | python do_unpack_append() { | 21 | python do_unpack:append() { |
| 22 | if len(d.getVar('TI_PDK_COMP') or '') > 0: | 22 | if len(d.getVar('TI_PDK_COMP') or '') > 0: |
| 23 | import shutil | 23 | import shutil |
| 24 | 24 | ||
diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass index 68314215..aa0568e9 100644 --- a/classes/ti-pdk.bbclass +++ b/classes/ti-pdk.bbclass | |||
| @@ -5,14 +5,14 @@ inherit perlnative | |||
| 5 | 5 | ||
| 6 | DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-baremetal-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native" | 6 | DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-baremetal-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native" |
| 7 | 7 | ||
| 8 | DEPENDS_append_omap-a15 = " ti-cgt-arm-native" | 8 | DEPENDS:append:omap-a15 = " ti-cgt-arm-native" |
| 9 | DEPENDS_remove_ti33x = "ti-cgt6x-native" | 9 | DEPENDS:remove:ti33x = "ti-cgt6x-native" |
| 10 | DEPENDS_remove_ti43x = "ti-cgt6x-native" | 10 | DEPENDS:remove:ti43x = "ti-cgt6x-native" |
| 11 | DEPENDS_append_omapl1 = " ti-cgt-arm-native" | 11 | DEPENDS:append:omapl1 = " ti-cgt-arm-native" |
| 12 | DEPENDS_remove_am65xx = "gcc-arm-baremetal-native ti-cgt6x-native" | 12 | DEPENDS:remove:am65xx = "gcc-arm-baremetal-native ti-cgt6x-native" |
| 13 | DEPENDS_append_am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native" | 13 | DEPENDS:append:am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native" |
| 14 | DEPENDS_remove_j7 = "gcc-arm-baremetal-native" | 14 | DEPENDS:remove:j7 = "gcc-arm-baremetal-native" |
| 15 | DEPENDS_append_j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native" | 15 | DEPENDS:append:j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 18 | B = "${WORKDIR}/build" | 18 | B = "${WORKDIR}/build" |
| @@ -141,4 +141,4 @@ do_install () { | |||
| 141 | fi | 141 | fi |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | 144 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" |
