diff options
Diffstat (limited to 'recipes-security/optee/optee-client.bb')
-rw-r--r-- | recipes-security/optee/optee-client.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-security/optee/optee-client.bb b/recipes-security/optee/optee-client.bb new file mode 100644 index 00000000..b811e600 --- /dev/null +++ b/recipes-security/optee/optee-client.bb | |||
@@ -0,0 +1,26 @@ | |||
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 | do_install() { | ||
17 | oe_runmake install | ||
18 | |||
19 | install -D -p -m0755 ${S}/out/export/bin/tee-supplicant ${D}${bindir}/tee-supplicant | ||
20 | |||
21 | install -D -p -m0644 ${S}/out/export/lib/libteec.so.1.0 ${D}${libdir}/libteec.so.1.0 | ||
22 | ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so | ||
23 | ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so.1 | ||
24 | |||
25 | cp -a ${S}/out/export/include ${D}/usr/ | ||
26 | } | ||