summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorPetter Mabäcker <petter@technux.se>2016-03-30 16:35:45 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2016-04-13 03:16:02 +0200
commit9797874a23ccf61f7559e22c9bbfff4f27e24d32 (patch)
tree3cac56e39d9cb9e0d4cf06ed742f965650530fb0 /recipes-kernel
parent84af6e7de3b8ea64ab374028aa95dc3a288ae85c (diff)
downloadmeta-raspberrypi-9797874a23ccf61f7559e22c9bbfff4f27e24d32.tar.gz
pitft: Add support for pitft28r
The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r" While at it also fix a minor typo in README. Signed-off-by: Petter Mabäcker <petter@technux.se>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index 24e7fe2..142ad7f 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -27,6 +27,8 @@ CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=ttyAMA0,11520
27 27
28UDEV_GE_141 ?= "1" 28UDEV_GE_141 ?= "1"
29 29
30KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}"
31
30# Set programmatically some variables during recipe parsing 32# Set programmatically some variables during recipe parsing
31# See http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#anonymous-python-functions 33# See http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#anonymous-python-functions
32python __anonymous () { 34python __anonymous () {