aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@rvc.renesas.com>2018-10-22 10:24:06 +0700
committerDuy Dang <duy.dang.yw@rvc.renesas.com>2018-12-20 13:09:08 +0700
commitdccf487bde165487eb21238ba2c3ad7af6d2d69a (patch)
treeb314bdd1dda51fb6f33a59597e5df4c9addd422e
parent0da1335346af6d7a6956f2f9a6e9fe801c382075 (diff)
rcar-gen3: dvd-encryption-module: Add new recipe
This commit adds a new recipe for DVD Encryption Library package. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
-rw-r--r--meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-encryption-module.bb53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-encryption-module.bb b/meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-encryption-module.bb
new file mode 100644
index 0000000..7fad401
--- /dev/null
+++ b/meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-encryption-module.bb
@@ -0,0 +1,53 @@
+DESCRIPTION = "DVD Encryption Library for Linux RCar Gen3"
+LICENSE = "CLOSED"
+
+require include/rcar-gen3-path-common.inc
+
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "dvd_encryption_library"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = " \
+ file://Software.tar.gz \
+"
+
+S = "${WORKDIR}"
+
+includedir = "${RENESAS_DATADIR}/include"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+ install -d ${D}${base_libdir}/optee_armtz
+ install -d ${D}${RENESAS_DATADIR}/include
+ install -d ${D}${libdir}
+
+ install -m 644 ${S}/TEE/DynamicTA/*.ta \
+ ${D}${base_libdir}/optee_armtz/
+ install -m 644 ${S}/TEEC/include/avc_copdvd.h \
+ ${D}${RENESAS_DATADIR}/include/
+ install -m 644 ${S}/TEEC/lib/libcopdvd.a \
+ ${D}${libdir}
+}
+
+PACKAGES = " \
+ ${PN} \
+ ${PN}-dev \
+ ${PN}-staticdev \
+"
+
+FILES_${PN} = " \
+ ${base_libdir}/optee_armtz/*.ta \
+"
+
+FILES_${PN}-dev = " \
+ ${RENESAS_DATADIR}/include/avc_copdvd.h \
+"
+
+FILES_${PN}-staticdev = " \
+ ${libdir}/libcopdvd.a \
+"
+
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"