summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2018-02-13 17:26:50 +0200
committerLeon Anavi <leon.anavi@konsulko.com>2018-02-13 17:30:27 +0200
commit1a0a9fc6e542cc2d98a40f2fcb38861087d57a10 (patch)
treee879bae9a5470e49af0fcb7ab815e84bc9a49321
parent27d143ed7d3dc5dd0dfb99ef9d2005e0b84ccdc1 (diff)
downloadmeta-updater-1a0a9fc6e542cc2d98a40f2fcb38861087d57a10.tar.gz
linux-raspberrypi_%.bbappend: Use wrappers from utils.bbclass
Replace base_conditional with oe.utils.conditional provided by utils.bbclass. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r--meta-sota-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-sota-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-sota-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
index 1db6d42..451aa94 100644
--- a/meta-sota-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
+++ b/meta-sota-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
@@ -1,7 +1,7 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
2 2
3SRC_URI_append = "\ 3SRC_URI_append = "\
4 ${@base_conditional('USE_FAYTECH_MONITOR', '1', 'file://0002-faytech-fix-rpi.patch', '', d)} \ 4 ${@oe.utils.conditional('USE_FAYTECH_MONITOR', '1', 'file://0002-faytech-fix-rpi.patch', '', d)} \
5" 5"
6 6
7do_configure_append_smack() { 7do_configure_append_smack() {
@@ -63,7 +63,7 @@ CMDLINE_DEBUG = ""
63CMDLINE_append = " usbhid.mousepoll=0" 63CMDLINE_append = " usbhid.mousepoll=0"
64 64
65# Add options to allow CMA to operate 65# Add options to allow CMA to operate
66CMDLINE_append = ' ${@base_conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}' 66CMDLINE_append = ' ${@oe.utils.conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}'
67 67
68KERNEL_MODULE_AUTOLOAD += "snd-bcm2835" 68KERNEL_MODULE_AUTOLOAD += "snd-bcm2835"
69KERNEL_MODULE_AUTOLOAD += "hid-multitouch" 69KERNEL_MODULE_AUTOLOAD += "hid-multitouch"