[meta-ti] [PATCH 2/5] ompa3-sgx-modules-x11: fix some build failures with latest versions

Denys Dmytriyenko denys at ti.com
Sat Aug 31 20:20:43 PDT 2013


On Sat, Aug 31, 2013 at 11:12:57PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys at ti.com>
> 
> * Do not hardcode kernel source location and name.
> * Fix some discrepancies between GFX SDK versions as related to DRM.

Also, I have couple more fixes pending for resolving build issues when 
building against recent kernels...


> Signed-off-by: Denys Dmytriyenko <denys at ti.com>
> ---
>  recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
> index d439d83..9134e61 100644
> --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
> +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
> @@ -11,7 +11,7 @@ BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
>  
>  inherit module
>  
> -MACHINE_KERNEL_PR_append = "a"
> +MACHINE_KERNEL_PR_append = "b"
>  PR = "${MACHINE_KERNEL_PR}"
>  
>  DEFAULT_PREFERENCE = "-1"
> @@ -48,16 +48,16 @@ do_compile() {
>  	export PLAT_CC="${CC}"
>  	export PLAT_CPP="${CXX}"
>  	export PLAR_AR="${AR}"
> -	for kernelver in ${WORKDIR}/../../linux-ti-staging/* ; do
> +	for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
>  		cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/
>  	done
>  	if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then
>  		cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \
> -			${S}/services4/3rdparty/linux_drm/Kbuild
> +			${S}/services4/3rdparty/linux_drm/Kbuild || true
>  	else 
>  		if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then
>  			cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \
> -				${S}/services4/3rdparty/linux_drm/Kbuild
> +				${S}/services4/3rdparty/linux_drm/Kbuild || true
>  		fi
>  	fi
>  	oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}
> -- 
> 1.8.3.2
> 



More information about the meta-ti mailing list