From: Denys Dmytriyenko <denys@ti.com>
To: Hongmei Gou <h-gou@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 1/3] omapdrm-pvr: add AM3 and AM4 which use null_window DRM
Date: Fri, 28 Aug 2015 12:08:19 -0400 [thread overview]
Message-ID: <20150828160819.GH26662@edge> (raw)
In-Reply-To: <1440731769-15759-2-git-send-email-h-gou@ti.com>
On Thu, Aug 27, 2015 at 11:16:07PM -0400, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <h-gou@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2015-08-28 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-28 3:16 [PATCH 0/3] Add AM3 and AM4 which use null_window DRM Hongmei Gou
2015-08-28 3:16 ` [PATCH 1/3] omapdrm-pvr: add " Hongmei Gou
2015-08-28 16:08 ` Denys Dmytriyenko [this message]
2015-08-28 3:16 ` [PATCH 2/3] omap5-sgx-ddk-um-linux: add AM3 and AM4, and pvr-init to initialization Hongmei Gou
2015-08-28 3:16 ` [PATCH 3/3] libdrm: add ti33x and ti43x to COMPATIBLE_MACHINE Hongmei Gou
2015-08-28 16:21 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150828160819.GH26662@edge \
--to=denys@ti.com \
--cc=h-gou@ti.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.