diff options
-rw-r--r-- | meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc index 5756f3ff..ae6cca74 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc | |||
@@ -47,10 +47,6 @@ do_install:append() { | |||
47 | install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true | 47 | install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true |
48 | install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true | 48 | install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true |
49 | install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true | 49 | install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true |
50 | |||
51 | # Install embedded TAs | ||
52 | mkdir -p ${D}${nonarch_base_libdir}/optee_armtz/ | ||
53 | install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/ | ||
54 | } | 50 | } |
55 | 51 | ||
56 | optee_deploy_legacyhs() { | 52 | optee_deploy_legacyhs() { |
@@ -73,7 +69,8 @@ do_deploy:append:k3() { | |||
73 | ln -sf optee/bl32.elf ${DEPLOYDIR}/ | 69 | ln -sf optee/bl32.elf ${DEPLOYDIR}/ |
74 | } | 70 | } |
75 | 71 | ||
76 | FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/" | 72 | # Make the OS depend on embedded TAs |
73 | RDEPENDS:${PN} += "${PN}-ta" | ||
77 | 74 | ||
78 | # This is needed for bl32.elf | 75 | # This is needed for bl32.elf |
79 | INSANE_SKIP:${PN}:append:k3 = " textrel" | 76 | INSANE_SKIP:${PN}:append:k3 = " textrel" |