aboutsummaryrefslogblamecommitdiffstats
path: root/kernels/marlin/do.bash
blob: c53b15515a3db7817d12afc602c8e1ae12d54c90 (plain) (tree)
1
2
3
4
5
6
7


                                                        
                                                                             


                                                                                
#!/bin/bash
set -ex
BASE="$(readlink -f "$(dirname "$(readlink -f "$0")")")"
patch -d wireguard-linux-compat -p1 < "$BASE/tvec_base_deferrable-hack.patch"
echo 'EXT_MODULES="${EXT_MODULES} wireguard"' >> private/msm-google/build.config
./build/build.sh
readlink -f out/android-msm-marlin-3.18/dist/wireguard.ko >&7