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>
-# 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"
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"