summaryrefslogtreecommitdiffstats
path: root/external/meta-updater-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
blob: f4f7a450bd545b48a47e13cbae64d87703a63d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"

# dtoverlays and dtparam definitions in rpi's config.txt are ignored when using
# ostree integration. You will have to patch existing dts or add overlays in
# your layer to achieve the same results.
# As a common example, here is a patch to enable audio support.
#
# see README.md and https://github.com/advancedtelematic/meta-updater-raspberrypi/issues/23 for
# more details
SRC_URI_append = " ${@oe.utils.conditional('ENABLE_AUDIO', '1', 'file://audio.patch', '', d)}"

SRC_URI_append_raspberrypi4 = " file://0001-Add-rpi4-uart0-dtb-overlay.patch"

do_configure_append_sota() {
    # ramblk for inird
    kernel_configure_variable BLK_DEV_RAM y
}

ENABLE_UART_raspberrypi3 ?= "1"
ENABLE_UART_raspberrypi4 ?= "1"