From daba0679b26f12f18eeb6df45f63f2a2b51f7e5f Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Fri, 28 Mar 2014 18:48:33 +0100 Subject: [PATCH] meta-digi-dey: restrict SPIDEV warning for MXS platforms https://jira.digi.com/browse/DEL-1022 Signed-off-by: Javier Viguera --- .../recipes-digi/dey-examples/dey-examples-spidev.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-digi/dey-examples/dey-examples-spidev.bb b/meta-digi-dey/recipes-digi/dey-examples/dey-examples-spidev.bb index f24e80eec..a3b994cf1 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/dey-examples-spidev.bb +++ b/meta-digi-dey/recipes-digi/dey-examples/dey-examples-spidev.bb @@ -11,8 +11,12 @@ SRC_URI = "file://spidev_test" S = "${WORKDIR}/spidev_test" -# Warn the user in case we cannot enable spidev in the device tree python do_warning_spidev() { + pass +} + +# Warn the user in case we cannot enable spidev in the device tree +python do_warning_spidev_mxs() { if d.getVar('HAVE_GUI', True) and not d.getVar('IS_KERNEL_2X', True): bb.warn("SPIDEV conflicts with touchscreen so it was not enabled in the device tree") }