[meta-ti] [PATCH V2 1/2] conf/layer.conf: Build omapdrm-pvr only if SGX is included

Eric Ruei e-ruei1 at ti.com
Tue Dec 1 07:39:49 PST 2015


Enable non-SGX build for AM3/AM4:
Build SGX DDK kernel module (omapdrm-pvr.ko) only if SGX is not
included at MACHINE_FEATURES.

Signed-off-by: Eric Ruei <a0850410 at uda0850410>
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 51da372..f471e72 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -11,7 +11,7 @@ BBFILE_PRIORITY_meta-ti = "6"
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
 SIGGEN_EXCLUDERECIPES_ABISAFE += " \
-    omapdrm-pvr \
+    ${@base_contains('MACHINE_FEATURES', 'sgx', 'omapdrm-pvr', ' ', d)} \
     omap5-sgx-ddk-um-linux \
     ti-ipc \
     cmem-mod \
-- 
1.9.1



More information about the meta-ti mailing list