aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@rvc.renesas.com>2018-10-22 10:33:20 +0700
committerDuy Dang <duy.dang.yw@rvc.renesas.com>2018-12-20 13:09:08 +0700
commit2d2043a31b7c2671f50af5ffb3def027c58627bf (patch)
tree6889174b9bda4adea95e3e509874d1fc043276e4
parent3362cc263b8bae72eea1734098b038cdc4fdd88d (diff)
rcar-gen3: image: Add DVD Encryption Library to MMP Image
This commit adds DVD Encryption Library to build in MMP configuration. This package uses DISTRO_FEATURES_append = " dvd_encryption_library" to be built. 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/include/dtv-dvd-control.inc3
-rw-r--r--meta-rcar-gen3/recipes-graphics/images/core-image-renesas-mmp-base.inc6
2 files changed, 9 insertions, 0 deletions
diff --git a/meta-rcar-gen3/include/dtv-dvd-control.inc b/meta-rcar-gen3/include/dtv-dvd-control.inc
index 1a79c07..07c4d5f 100644
--- a/meta-rcar-gen3/include/dtv-dvd-control.inc
+++ b/meta-rcar-gen3/include/dtv-dvd-control.inc
@@ -4,6 +4,9 @@ USE_DTV = "${@'1' if 'dtv' in '${DISTRO_FEATURES}' else '0'}"
# USE_DVD for DVD Core-Middleware for Linux
USE_DVD = "${@'1' if 'dvd' in '${DISTRO_FEATURES}' else '0'}"
+# USE_DVD_ENCRYPTION_LIB for DVD Encryption Library for Linux
+USE_DVD_ENCRYPTION_LIB = "${@'1' if 'dvd_encryption_library' in '${DISTRO_FEATURES}' else '0'}"
+
# This function to prevent build DTV feature with E3
python do_dtv_checking () {
soc = d.getVar('SOC_FAMILY')
diff --git a/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-mmp-base.inc b/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-mmp-base.inc
index b8fffd2..b559a0b 100644
--- a/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-mmp-base.inc
+++ b/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-mmp-base.inc
@@ -45,6 +45,11 @@ DVD_PKGS = " \
dvd-user-module \
"
+# DVD Encryption Library packages
+DVD_ENCRYPTION_PKGS = " \
+ dvd-encryption-module \
+"
+
# ADSP Packages
ADSP_PKGS = " \
kernel-module-xtensa-hifi \
@@ -90,6 +95,7 @@ IMAGE_INSTALL_append = " \
${@base_conditional("USE_CMS", "1", " ${CMS_MULTIMEDIA_PKGS}", "", d)} \
${@base_conditional("USE_DTV", "1", " ${DTV_PKGS}", "", d)} \
${@base_conditional("USE_DVD", "1", " ${DVD_PKGS}", "", d)} \
+ ${@base_conditional("USE_DVD_ENCRYPTION_LIB", "1", " ${DVD_ENCRYPTION_PKGS}", "", d)} \
${@base_conditional("USE_ADSP", "1", " ${ADSP_PKGS}", "", d)} \
${@base_conditional("USE_AVB", "1", " ${AVB_PKGS}", "", d)} \
${@base_conditional("USE_32BIT_MMP", "1", " ${MMP_32BIT_PKGS}", "", d)} \