summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb
blob: 803cbeffebf63bf3e7e8137a22c9471144ff5b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require imx-secure-enclave.inc

SUMMARY += "SECO"
DESCRIPTION += "SECO"

PLAT = "seco"

EXTRA_OEMAKE:append:mx8x-nxp-bsp = " COMPATIBLE_MACHINE=mx8dxl-nxp-bsp"

do_install:append:mx9-nxp-bsp() {
    # Remove common content that is to be installed by imx-secure-enclave
    for i in common hsm nvm.h; do
        rm -rf ${D}${includedir}/$i
    done
    rm ${D}${datadir}/se/README
    rm ${D}${bindir}/nvmd_conf_setup.sh
    rm ${D}${bindir}/se_tools
}

COMPATIBLE_MACHINE = "(mx8x-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp|mx952-nxp-bsp)"