summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhang Nguyen <khang.nguyen.xv@rvc.renesas.com>2018-02-23 14:11:18 +0700
committerKhang Nguyen <khang.nguyen.xv@rvc.renesas.com>2018-03-22 13:36:54 +0700
commit2224b701ccac6eddc86470a04faa301e6bbc72de (patch)
tree2348074e7f91028ee632c2695bfae990fd180753
parent3c34c367fda407d91535fdb54cabaf95fe3adb09 (diff)
rcar-gen3: omx-control: Update to build vp9dec_lib with E3
This commit updates the condition to build vp9dec_lib with E3 (SoC r8a77990). Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
-rw-r--r--meta-rcar-gen3/include/omx-control.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-rcar-gen3/include/omx-control.inc b/meta-rcar-gen3/include/omx-control.inc
index 00b4e80..7723693 100644
--- a/meta-rcar-gen3/include/omx-control.inc
+++ b/meta-rcar-gen3/include/omx-control.inc
@@ -77,14 +77,14 @@ USE_VP8E_OMX = "${@'1' if 'vp8enc_lib' in '${DISTRO_FEATURES}' else '0'}"
# USE_VP9D_OMX for OMX Media Component VP9 Decoder Library
USE_VP9D_OMX = "${@'1' if 'vp9dec_lib' in '${DISTRO_FEATURES}' else '0'}"
-# This function is to make sure vp9dec_lib only build with M3N
+# This function is to make sure vp9dec_lib only build with M3N or E3
python do_vp9_checking() {
soc = d.getVar('SOC_FAMILY')
soc = soc.split(':')[1]
use_vp9d = d.getVar('USE_VP9D_OMX')
if use_vp9d == "1":
- if soc != 'r8a77965':
- bb.fatal("vp9dec_lib only supports M3N (SoC: r8a77965), please disable this feature in your local configuration")
+ if soc != 'r8a77965' and soc != 'r8a77990':
+ bb.fatal("vp9dec_lib only supports M3N (SoC: r8a77965), E3 (SoC: r8a77990), please disable this feature in your local configuration")
}
addtask vp9_checking before do_configure after do_patch