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 /recipes-security | |
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 'recipes-security')
-rw-r--r-- | recipes-security/optee/optee-%.bbappend | 2 | ||||
-rw-r--r-- | recipes-security/optee/optee-os_%.bbappend | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/recipes-security/optee/optee-%.bbappend b/recipes-security/optee/optee-%.bbappend index 32307e2f..bc590bfd 100644 --- a/recipes-security/optee/optee-%.bbappend +++ b/recipes-security/optee/optee-%.bbappend | |||
@@ -1 +1 @@ | |||
COMPATIBLE_MACHINE_ti-soc = "ti-soc" | COMPATIBLE_MACHINE:ti-soc = "ti-soc" | ||
diff --git a/recipes-security/optee/optee-os_%.bbappend b/recipes-security/optee/optee-os_%.bbappend index d7e81c5a..aac14a50 100644 --- a/recipes-security/optee/optee-os_%.bbappend +++ b/recipes-security/optee/optee-os_%.bbappend | |||
@@ -1,8 +1,8 @@ | |||
1 | do_compile_prepend_ti-soc() { | 1 | do_compile:prepend:ti-soc() { |
2 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} | 2 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} |
3 | } | 3 | } |
4 | 4 | ||
5 | do_compile_append_k3() { | 5 | do_compile:append:k3() { |
6 | ( cd ${B}/core/; \ | 6 | ( cd ${B}/core/; \ |
7 | cp tee-pager_v2.bin ${B}/bl32.bin; \ | 7 | cp tee-pager_v2.bin ${B}/bl32.bin; \ |
8 | cp tee.elf ${B}/bl32.elf; \ | 8 | cp tee.elf ${B}/bl32.elf; \ |
@@ -37,23 +37,23 @@ optee_sign_k3hs() { | |||
37 | ) | 37 | ) |
38 | } | 38 | } |
39 | 39 | ||
40 | do_compile_append_ti43x() { | 40 | do_compile:append:ti43x() { |
41 | optee_sign_legacyhs | 41 | optee_sign_legacyhs |
42 | } | 42 | } |
43 | 43 | ||
44 | do_compile_append_dra7xx() { | 44 | do_compile:append:dra7xx() { |
45 | optee_sign_legacyhs | 45 | optee_sign_legacyhs |
46 | } | 46 | } |
47 | 47 | ||
48 | do_compile_append_am65xx-hs-evm() { | 48 | do_compile:append:am65xx-hs-evm() { |
49 | optee_sign_k3hs | 49 | optee_sign_k3hs |
50 | } | 50 | } |
51 | 51 | ||
52 | do_compile_append_j7-hs-evm() { | 52 | do_compile:append:j7-hs-evm() { |
53 | optee_sign_k3hs | 53 | optee_sign_k3hs |
54 | } | 54 | } |
55 | 55 | ||
56 | do_install_append_ti-soc() { | 56 | do_install:append:ti-soc() { |
57 | install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true | 57 | install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true |
58 | install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true | 58 | install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true |
59 | install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true | 59 | install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true |
@@ -66,18 +66,18 @@ optee_deploy_legacyhs() { | |||
66 | done | 66 | done |
67 | } | 67 | } |
68 | 68 | ||
69 | do_deploy_append_ti43x() { | 69 | do_deploy:append:ti43x() { |
70 | optee_deploy_legacyhs | 70 | optee_deploy_legacyhs |
71 | } | 71 | } |
72 | 72 | ||
73 | do_deploy_append_dra7xx() { | 73 | do_deploy:append:dra7xx() { |
74 | optee_deploy_legacyhs | 74 | optee_deploy_legacyhs |
75 | } | 75 | } |
76 | 76 | ||
77 | do_deploy_append_k3() { | 77 | do_deploy:append:k3() { |
78 | ln -sf optee/bl32.bin ${DEPLOYDIR}/ | 78 | ln -sf optee/bl32.bin ${DEPLOYDIR}/ |
79 | ln -sf optee/bl32.elf ${DEPLOYDIR}/ | 79 | ln -sf optee/bl32.elf ${DEPLOYDIR}/ |
80 | } | 80 | } |
81 | 81 | ||
82 | # This is needed for bl32.elf | 82 | # This is needed for bl32.elf |
83 | INSANE_SKIP_${PN}_append_k3 = " textrel" | 83 | INSANE_SKIP:${PN}:append:k3 = " textrel" |