summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-31 18:13:47 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2020-09-03 14:43:10 +0100
commit5013a063d519310b9054a769baf8ebed3a6f9d2b (patch)
tree378acd504f1fd5843521e93561bf483ca13be399
parent46f4028e6f0eacf3e9aab33e9bff652bd34eb980 (diff)
downloadmeta-raspberrypi-5013a063d519310b9054a769baf8ebed3a6f9d2b.tar.gz
linux-raspberrypi_5.4.bb: Build ashmem and binder drivers
These are android drivers, which help in running anbox on top of raspberrypi machines Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-kernel/linux/files/android-drivers.cfg8
-rw-r--r--recipes-kernel/linux/linux-raspberrypi_5.4.bb1
2 files changed, 9 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/android-drivers.cfg b/recipes-kernel/linux/files/android-drivers.cfg
new file mode 100644
index 0000000..f74ac0e
--- /dev/null
+++ b/recipes-kernel/linux/files/android-drivers.cfg
@@ -0,0 +1,8 @@
1CONFIG_ANDROID=y
2
3#CONFIG_ANDROID_BINDERFS is not set
4CONFIG_ANDROID_BINDER_IPC=y
5CONFIG_ANDROID_BINDER_DEVICES="binder"
6
7CONFIG_ASHMEM=y
8
diff --git a/recipes-kernel/linux/linux-raspberrypi_5.4.bb b/recipes-kernel/linux/linux-raspberrypi_5.4.bb
index f94c687..82006bd 100644
--- a/recipes-kernel/linux/linux-raspberrypi_5.4.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_5.4.bb
@@ -9,4 +9,5 @@ SRC_URI += "file://0001-Revert-selftests-bpf-Skip-perf-hw-events-test-if-the.pat
9 file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \ 9 file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \
10 file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch \ 10 file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch \
11 file://powersave.cfg \ 11 file://powersave.cfg \
12 file://android-drivers.cfg \
12 " 13 "