1 FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
3 require recipes-kernel/linux/linux-agl.inc
6 ${@oe.utils.conditional('USE_FAYTECH_MONITOR', '1', 'file://0002-faytech-fix-rpi.patch', '', d)} \
7 file://0001-mconf-menuconfig.patch \
12 ${@bb.utils.contains('AGL_XEN_WANTED','1','file://xen-be.cfg','',d)} \
15 #take in account that linux under xen should use the hvc0 console
16 SERIAL_OPTION = "${@bb.utils.contains('AGL_XEN_WANTED','1','hvc0','ttyS0,115200',d)}"
17 SERIAL = "${@oe.utils.conditional("ENABLE_UART", "1", "console=${SERIAL_OPTION}", "", d)}"
22 CMDLINE_append = ' ${@bb.utils.contains('AGL_XEN_WANTED','1','clk_ignore_unused','',d)}'
24 # Workaround for crash during brcmfmac loading. Disable it at this moment
25 CMDLINE_append = ' ${@bb.utils.contains('AGL_XEN_WANTED','1','modprobe.blacklist=brcmfmac','',d)}'
27 CMDLINE_append = " usbhid.mousepoll=0"
29 # Add options to allow CMA to operate
30 CMDLINE_append = '${@oe.utils.conditional("ENABLE_CMA", "1", " coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}'
32 KERNEL_MODULE_AUTOLOAD += "snd-bcm2835"
33 KERNEL_MODULE_AUTOLOAD += "hid-multitouch"
35 RDEPENDS_${PN} += "kernel-module-snd-bcm2835"
36 PACKAGES += "kernel-module-snd-bcm2835"
38 # Enable support for usb video class for usb camera devices
39 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/uvc.cfg"
41 # Enable support for joystick devices
42 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/joystick.cfg"
44 # Enable support for Pi foundation touchscreen
45 SRC_URI_append = " file://raspberrypi-panel.cfg"
46 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-panel.cfg"
49 SRC_URI_append = " file://raspberrypi-hciuart.cfg"
50 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-hciuart.cfg"
52 # ENABLE NETWORK (built-in)
53 SRC_URI_append = " file://raspberrypi_network.cfg"
54 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi_network.cfg"