[meta-ti] [PATCH 1/3] omapdrm-pvr: add AM3 and AM4 which use null_window DRM

Denys Dmytriyenko denys at ti.com
Fri Aug 28 09:08:19 PDT 2015


On Thu, Aug 27, 2015 at 11:16:07PM -0400, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <h-gou at ti.com>
> ---
>  .../powervr-drivers/omapdrm-pvr_1.9.2253347.bb     | 28 +++++++++++++++++-----
>  1 file changed, 22 insertions(+), 6 deletions(-)
> 
> diff --git a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> index 665c3de..c99bd8b 100644
> --- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> +++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> @@ -3,24 +3,40 @@ HOMEPAGE = "http://git.ti.com"
>  LICENSE = "MIT | GPLv2"
>  LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bfc03386bb4d8d9381b79d33898"
>  
> -inherit module
> +inherit module pkgconfig

Why do you need pkgconfig here?

The rest looks good, but we need to bump SRCREV for omap5/dra7 - see my other 
patch...


> +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
>  
>  MACHINE_KERNEL_PR_append = "g"
>  PR = "${MACHINE_KERNEL_PR}"
>  
> -BRANCH = "dra7/k4.1"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +BRANCH_omap-a15 = "dra7/k4.1"
> +BRANCH_ti33x = "am4/k4.1"
> +BRANCH_ti43x = "am4/k4.1"
>  
>  SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
>  S = "${WORKDIR}/git"
>  
> -SRCREV = "333ef031a98c0abdd49b6cfac61fbdd8c1d88518"
> +SRCREV_omap-a15 = "333ef031a98c0abdd49b6cfac61fbdd8c1d88518"
> +SRCREV_ti33x = "5b26357ef6243e65d431be380103a692bbdce309"
> +SRCREV_ti43x = "5b26357ef6243e65d431be380103a692bbdce309"
> +
> +PVR_NULLDRM_ti33x = "1"
> +PVR_NULLDRM_ti43x = "1"
> +PVR_NULLDRM_omap-a15 = "0"
> +
> +EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" PVR_NULLDRM=${PVR_NULLDRM}'
>  
> -EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}"'
> +DEVICE_SUB_DIR_omap-a15 = "omap5430"
> +DEVICE_SUB_DIR_ti33x = "omap335x"
> +DEVICE_SUB_DIR_ti43x = "omap437x"
>  
>  do_compile_prepend() {
> -    cd ${S}/eurasia_km/eurasiacon/build/linux2/omap5430_linux
> +    cd ${S}/eurasia_km/eurasiacon/build/linux2/${DEVICE_SUB_DIR}_linux
>  }
>  
>  do_install() {
> -    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
> +    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_${DEVICE_SUB_DIR}_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
>  }
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list