From 2224b701ccac6eddc86470a04faa301e6bbc72de Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Fri, 23 Feb 2018 14:11:18 +0700 Subject: 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 Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/include/omx-control.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta-rcar-gen3/include') 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 -- cgit 1.2.3-korg