meta-digi-dey: restrict SPIDEV warning for MXS platforms
https://jira.digi.com/browse/DEL-1022 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
6044f0bac2
commit
daba0679b2
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue