gst-ffmpeg: Add explict getVar expansion parameter
PATCH 1/1 gst-ffmpeg: Add explict getVar expansion parameter
Bitbake is likely to require this parameter in future, add the default value.
Patch generated with the command:
sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i grep -ril getVar *
Signed-off-by Richard Purdie <[email protected]>
meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg_0.10.13.bb +2 -2
@@ -79,8 +79,8 @@ GSTREAMER_DEBUG ?= "--disable-debug" FFMPEG_EXTRA_CONFIGURE = "--with-ffmpeg-extra-configure" # pass --cpu for powerpc. get cpu name by stripping "ppc" or "ppc64" # from DEFAULTTUNE -FFMPEG_CPU_powerpc = "--cpu=${@d.getVar('DEFAULTTUNE')[3:]}" -FFMPEG_CPU_powerpc64 = "--cpu=${@d.getVar('DEFAULTTUNE')[5:]}" +FFMPEG_CPU_powerpc = "--cpu=${@d.getVar('DEFAULTTUNE', False)[3:]}" +FFMPEG_CPU_powerpc64 = "--cpu=${@d.getVar('DEFAULTTUNE', False)[5:]}" FFMPEG_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux ${FFMPEG_CPU} \ --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \ --ranlib='${RANLIB}' \