summarylogtreecommitdiffstats
path: root/linux-mt-prepare.sh
diff options
context:
space:
mode:
authorMT2021-12-11 15:24:07 -0500
committerMT2021-12-11 15:24:07 -0500
commitf1de9b34f159325a1ae31a6b6fd72b72a822e44f (patch)
tree0968b212948a81805b8ccc4ee2f18f4a70780c8a /linux-mt-prepare.sh
parent5839a85d7ff625ffc12b54375b48ac4a7c89d9bb (diff)
downloadaur-f1de9b34f159325a1ae31a6b6fd72b72a822e44f.tar.gz
Bump to 5.15.7 and set up a better way of editing the config file
Diffstat (limited to 'linux-mt-prepare.sh')
-rwxr-xr-xlinux-mt-prepare.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-mt-prepare.sh b/linux-mt-prepare.sh
new file mode 100755
index 000000000000..08645b158e3f
--- /dev/null
+++ b/linux-mt-prepare.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Stuff to turn a stock arch config into what i want.
+sed -i "s/CONFIG_HZ=300/CONFIG_HZ=1000/g" config
+sed -i "s/CONFIG_HZ_300=y/# CONFIG_HZ_300 is not set/g" config
+sed -i "s/CONFIG_NO_HZ_IDLE=y/# CONFIG_NO_HZ_IDLE is not set/g" config
+sed -i "s/# CONFIG_NO_HZ_FULL is not set/CONFIG_NO_HZ_FULL=y/g" config
+sed -i "s/# CONFIG_ANDROID is not set/CONFIG_ANDROID=y/g" config
+echo "CONFIG_ANDROID_BINDER_IPC=y" >> config
+echo 'CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"' >> config
+echo "CONFIG_ANDROID_BINDERFS=n" >> config
+echo "CONFIG_ANDROID_BINDER_IPC_SELFTEST=n" >> config
+echo "CONFIG_ASHMEM=y" >> config