summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2021-08-11 14:39:05 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-08-17 11:21:54 +0000
commite21c11b4a44417f67c78503bc3f954c175ac20e2 (patch)
treee1d5252c9a4cc979e67e154abeb8dd7ad0b545a7 /classes
parentf56051c9a8cf09f54c43b81301073eed71bbda97 (diff)
downloadmeta-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.bbclass2
-rw-r--r--classes/ti-pdk.bbclass18
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"
18S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}" 18S = "${@'${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
21python do_unpack_append() { 21python 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
6DEPENDS = "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" 6DEPENDS = "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
8DEPENDS_append_omap-a15 = " ti-cgt-arm-native" 8DEPENDS:append:omap-a15 = " ti-cgt-arm-native"
9DEPENDS_remove_ti33x = "ti-cgt6x-native" 9DEPENDS:remove:ti33x = "ti-cgt6x-native"
10DEPENDS_remove_ti43x = "ti-cgt6x-native" 10DEPENDS:remove:ti43x = "ti-cgt6x-native"
11DEPENDS_append_omapl1 = " ti-cgt-arm-native" 11DEPENDS:append:omapl1 = " ti-cgt-arm-native"
12DEPENDS_remove_am65xx = "gcc-arm-baremetal-native ti-cgt6x-native" 12DEPENDS:remove:am65xx = "gcc-arm-baremetal-native ti-cgt6x-native"
13DEPENDS_append_am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native" 13DEPENDS:append:am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
14DEPENDS_remove_j7 = "gcc-arm-baremetal-native" 14DEPENDS:remove:j7 = "gcc-arm-baremetal-native"
15DEPENDS_append_j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native" 15DEPENDS:append:j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18B = "${WORKDIR}/build" 18B = "${WORKDIR}/build"
@@ -141,4 +141,4 @@ do_install () {
141 fi 141 fi
142} 142}
143 143
144FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" 144FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"