meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.18.bb
Petter Mabäcker a42a1706de pitft: Add PiTFT22 support
- Add support to build overlays for PiTFT22 in the kernel.
- Setup a basic configuration for the driver

The PiTFT22 support is optional and can be enabled by adding below in
local.conf:

MACHINE_FEATURES += "pitft pitft22"

This patch also includes restructuring of kernel patches per kernel version
specific directories.

[Support #70]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 21:56:56 +01:00

15 lines
459 B
BlitzBasic

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
LINUX_VERSION ?= "3.18.16"
SRCREV = "1bb18c8f721ef674a447f3622273f2e2de7a205c"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
file://0001-dts-add-overlay-for-pitft22.patch \
"
require linux-raspberrypi.inc
# Create missing out of tree 'overlays' directory prior to install step
do_compile_prepend() {
mkdir -p ${B}/arch/arm/boot/dts/overlays
}