[meta-ti] [PATCH 1/2] omapdrm_pvr: Define PVR_NULLDRM based on the availability of SGX

Eric Ruei e-ruei1 at ti.com
Wed Nov 25 14:53:40 PST 2015


From: Eric Ruei <a0850410 at uda0850410>

Enable non-SGX build for AM3/AM4:
For ti43x, set PVR_NULLDRM to 1 only if SGX is not included at MACHINE_FEATURES.
Note: For ti33x, PVR_NULLDRM is always set to 1 becasue only nullDRM is 
supported.


Signed-off-by: Eric Ruei <a0850410 at uda0850410>
---
 recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 50df3d9..da4ab74 100644
--- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
+++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
@@ -24,7 +24,7 @@ SRCREV_ti33x = "2b7523d07a13ab704a24a7664749551f4a13ed32"
 SRCREV_ti43x = "2b7523d07a13ab704a24a7664749551f4a13ed32"
 
 PVR_NULLDRM_ti33x = "1"
-PVR_NULLDRM_ti43x = "0"
+PVR_NULLDRM_ti43x = "${@base_contains('MACHINE_FEATURES', 'sgx', '0', '1', d)}"
 PVR_NULLDRM_omap-a15 = "0"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" PVR_NULLDRM=${PVR_NULLDRM}'
-- 
1.9.1



More information about the meta-ti mailing list