diff options
Diffstat (limited to 'meta-rcar-gen3')
-rw-r--r-- | meta-rcar-gen3/include/omx-control.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-rcar-gen3/include/omx-control.inc b/meta-rcar-gen3/include/omx-control.inc index 7723693..69093e8 100644 --- a/meta-rcar-gen3/include/omx-control.inc +++ b/meta-rcar-gen3/include/omx-control.inc @@ -78,17 +78,20 @@ USE_VP8E_OMX = "${@'1' if 'vp8enc_lib' in '${DISTRO_FEATURES}' else '0'}" USE_VP9D_OMX = "${@'1' if 'vp9dec_lib' in '${DISTRO_FEATURES}' else '0'}" # This function is to make sure vp9dec_lib only build with M3N or E3 -python do_vp9_checking() { +# and warns user to build vp9dec_lib for M3 v3.0 only +python () { soc = d.getVar('SOC_FAMILY') soc = soc.split(':')[1] use_vp9d = d.getVar('USE_VP9D_OMX') if use_vp9d == "1": 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") + if soc == 'r8a7796': + bb.warn("vp9dec_lib supports M3 v3.0 only, it does not work on other M3 versions.") + else: + bb.warn("vp9dec_lib only supports M3N (SoC: r8a77965), E3 (SoC: r8a77990), M3 v3.0 (SoC: r8a7796). Disabling.") + d.setVar('USE_VP9D_OMX', '0') } -addtask vp9_checking before do_configure after do_patch - # OMX Video Decoder Flag list LIST_OMX_VIDEO_DEC_FLAG = " \ ${USE_H263D_OMX} \ |