1 FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
3 require recipes-kernel/linux/linux-agl.inc
4 require recipes-kernel/linux/linux-agl-4.14.inc
6 # NOTE: Kprobes need to be disabled until linux-raspberrypi gets updated
7 # to newer than 4.14.104 to avoid lttng-modules failing to build.
9 ${@oe.utils.conditional('USE_FAYTECH_MONITOR', '1', 'file://0002-faytech-fix-rpi.patch', '', d)} \
10 file://disable_kprobes.cfg \
14 CMDLINE_append = " usbhid.mousepoll=0"
16 # Add options to allow CMA to operate
17 CMDLINE_append = ' ${@oe.utils.conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}'
19 KERNEL_MODULE_AUTOLOAD += "snd-bcm2835"
20 KERNEL_MODULE_AUTOLOAD += "hid-multitouch"
22 RDEPENDS_${PN} += "kernel-module-snd-bcm2835"
23 PACKAGES += "kernel-module-snd-bcm2835"
25 # Enable support for usb video class for usb camera devices
26 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/uvc.cfg"
28 # Enable support for joystick devices
29 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/joystick.cfg"
31 # Enable support for Pi foundation touchscreen
32 SRC_URI_append = " file://raspberrypi-panel.cfg"
33 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-panel.cfg"
36 SRC_URI_append = " file://raspberrypi-hciuart.cfg"
37 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-hciuart.cfg"
39 # ENABLE NETWORK (built-in)
40 SRC_URI_append = " file://raspberrypi_network.cfg"
41 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi_network.cfg"