[meta-ti] Gou, Hongmei : omapdrm-pvr: add AM3 and AM4 which use null_window DRM
Arago Project git
git at arago-project.org
Fri Aug 28 17:04:30 PDT 2015
Module: meta-ti
Branch: fido
Commit: cd24ef18557329695bc9242e810c7388833a2f1b
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=cd24ef18557329695bc9242e810c7388833a2f1b
Author: Gou, Hongmei <h-gou at ti.com>
Date: Sat Aug 29 02:08:31 2015 +0000
omapdrm-pvr: add AM3 and AM4 which use null_window DRM
Bumped driver revs to match latest kernel patches.
Signed-off-by: Hongmei Gou <h-gou at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
.../powervr-drivers/omapdrm-pvr_1.9.2253347.bb | 26 ++++++++++++++++----
1 files changed, 21 insertions(+), 5 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 e2d01cd..0978b43 100644
--- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
+++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
@@ -5,22 +5,38 @@ LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bf
inherit module
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
+
MACHINE_KERNEL_PR_append = "h"
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 = "e06c0a4e11401534b938b9a7b1c3f27a65db871f"
+SRCREV_omap-a15 = "e06c0a4e11401534b938b9a7b1c3f27a65db871f"
+SRCREV_ti33x = "696eaf6cff0e4ab6abedc3ff639ec158f8a6177f"
+SRCREV_ti43x = "696eaf6cff0e4ab6abedc3ff639ec158f8a6177f"
+
+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
}
More information about the meta-ti
mailing list