aboutsummaryrefslogtreecommitdiffstats
path: root/kernels/crosshatch/do.bash
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/crosshatch/do.bash')
-rw-r--r--kernels/crosshatch/do.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernels/crosshatch/do.bash b/kernels/crosshatch/do.bash
new file mode 100644
index 0000000..af53ee6
--- /dev/null
+++ b/kernels/crosshatch/do.bash
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -ex
+sed -i 's/EXT_MODULES="/EXT_MODULES="\nwireguard/' private/msm-google/build.config.common
+echo 'ccflags-y += -Wno-unused-variable' >> WireGuard/src/Kbuild
+./build/build.sh
+readlink -f out/android-msm-pixel-4.9/dist/wireguard.ko >&7