diff options
| author | C.R. Guo <chunrong.guo@nxp.com> | 2018-03-07 16:45:46 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-03-15 09:50:54 -0300 |
| commit | b2bd8c7dde85b3da7035afa63ddebf7f73564b8e (patch) | |
| tree | a5ac3e2abeb4667cce5791beb52f307d919849c4 /recipes-security/optee/optee-client-qoriq.bb | |
| parent | fe25ab0a190680d05bb3e3c5f509274d0f89d722 (diff) | |
| download | meta-freescale-b2bd8c7dde85b3da7035afa63ddebf7f73564b8e.tar.gz | |
optee-client: Rename optee-client -> optee-client-qoriq
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-security/optee/optee-client-qoriq.bb')
| -rw-r--r-- | recipes-security/optee/optee-client-qoriq.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-security/optee/optee-client-qoriq.bb b/recipes-security/optee/optee-client-qoriq.bb new file mode 100644 index 000000000..bae18f86e --- /dev/null +++ b/recipes-security/optee/optee-client-qoriq.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "OPTEE Client" | ||
| 2 | HOMEPAGE = "https://github.com/qoriq-open-source/optee_client" | ||
| 3 | |||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b" | ||
| 6 | |||
| 7 | inherit pythonnative systemd | ||
| 8 | |||
| 9 | SRC_URI = "git://github.com/qoriq-open-source/optee_client.git;nobranch=1 \ | ||
| 10 | file://0001-Respect-LDFLAGS-set-from-OE-build.patch \ | ||
| 11 | " | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | SRCREV = "73b4e490a8ed0b4a7714818e80998b9d8a7da958" | ||
| 15 | |||
| 16 | EXTRA_OEMAKE = "ARCH=arm64" | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | oe_runmake install | ||
| 20 | |||
| 21 | install -D -p -m0755 ${S}/out/export/bin/tee-supplicant ${D}${bindir}/tee-supplicant | ||
| 22 | |||
| 23 | install -D -p -m0644 ${S}/out/export/lib/libteec.so.1.0 ${D}${libdir}/libteec.so.1.0 | ||
| 24 | ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so | ||
| 25 | ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so.1 | ||
| 26 | |||
| 27 | cp -a ${S}/out/export/include ${D}/usr/ | ||
| 28 | } | ||
