]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-test.inc: Add depends to support x11 builds
authorLauren Post <lauren.post@freescale.com>
Thu, 24 Dec 2015 07:17:04 +0000 (15:17 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:25 +0000 (15:03 -0300)
This fixes build issues with mxc_epdc_x11_fb_test and x11_overlay
which have dependencies on x11

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/imx-test/imx-test.inc

index 7174b0525beda1fa8835034982519a0050407286..3c463c75b19a123eb1b9052eab245c7f9de941d4 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright (C) 2012-2015 O.S. Systems Software LTDA.
+# Copyright (C) 2012-2016 O.S. Systems Software LTDA.
+# Copyright (C) 2015 Freescale Semiconductor
 
 SUMMARY = "Test programs for IMX BSP"
 DESCRIPTION = "Unit tests for the IMX BSP"
@@ -10,6 +11,9 @@ DEPENDS_mx6sx = "virtual/kernel imx-lib"
 DEPENDS_mx6ul = "virtual/kernel imx-lib"
 DEPENDS_mx7   = "virtual/kernel imx-lib"
 
+DEPENDS_append = " \
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'libx11 libxdamage libxrender libxrandr', '', d)} \
+"
 
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"