aboutsummaryrefslogtreecommitdiffstats
path: root/kernels
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-10-14 12:05:34 -0700
committerNathan Chancellor <natechancellor@gmail.com>2019-10-14 13:46:21 -0700
commita11e38e913677cbae8ceae5ff988181cfc85d085 (patch)
tree586e04d86e68ee346a772819f3237f8bd8c82059 /kernels
parentkernels: marlin: hack around unexported tvec_base_deferrable (diff)
downloadandroid-wireguard-module-builder-a11e38e913677cbae8ceae5ff988181cfc85d085.tar.xz
android-wireguard-module-builder-a11e38e913677cbae8ceae5ff988181cfc85d085.zip
kernels: crosshatch: update the EXT_MODULES command
Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'kernels')
-rw-r--r--kernels/crosshatch/do.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernels/crosshatch/do.bash b/kernels/crosshatch/do.bash
index af53ee6..0bbc21a 100644
--- a/kernels/crosshatch/do.bash
+++ b/kernels/crosshatch/do.bash
@@ -1,6 +1,6 @@
#!/bin/bash
set -ex
-sed -i 's/EXT_MODULES="/EXT_MODULES="\nwireguard/' private/msm-google/build.config.common
+echo 'EXT_MODULES="${EXT_MODULES} wireguard"' >> 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