diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2018-02-13 17:26:50 +0200 |
---|---|---|
committer | Leon Anavi <leon.anavi@konsulko.com> | 2018-02-13 17:30:27 +0200 |
commit | 1a0a9fc6e542cc2d98a40f2fcb38861087d57a10 (patch) | |
tree | e879bae9a5470e49af0fcb7ab815e84bc9a49321 | |
parent | 27d143ed7d3dc5dd0dfb99ef9d2005e0b84ccdc1 (diff) | |
download | meta-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_%.bbappend | 4 |
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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" |
2 | 2 | ||
3 | SRC_URI_append = "\ | 3 | SRC_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 | ||
7 | do_configure_append_smack() { | 7 | do_configure_append_smack() { |
@@ -63,7 +63,7 @@ CMDLINE_DEBUG = "" | |||
63 | CMDLINE_append = " usbhid.mousepoll=0" | 63 | CMDLINE_append = " usbhid.mousepoll=0" |
64 | 64 | ||
65 | # Add options to allow CMA to operate | 65 | # Add options to allow CMA to operate |
66 | CMDLINE_append = ' ${@base_conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}' | 66 | CMDLINE_append = ' ${@oe.utils.conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}' |
67 | 67 | ||
68 | KERNEL_MODULE_AUTOLOAD += "snd-bcm2835" | 68 | KERNEL_MODULE_AUTOLOAD += "snd-bcm2835" |
69 | KERNEL_MODULE_AUTOLOAD += "hid-multitouch" | 69 | KERNEL_MODULE_AUTOLOAD += "hid-multitouch" |