diff options
author | 2016-07-28 15:42:03 +0200 | |
---|---|---|
committer | 2016-08-02 02:55:43 +0200 | |
commit | a466a232a36a4a08666af2ac91d2b6eb9d170803 (patch) | |
tree | 797bcae6d7704f5b32e3dff38cb341158c604715 /contrib/patch-kernel-builtin.sh | |
parent | Makefile: check tools as part of make check (diff) | |
download | wireguard-monolithic-historical-a466a232a36a4a08666af2ac91d2b6eb9d170803.tar.xz wireguard-monolithic-historical-a466a232a36a4a08666af2ac91d2b6eb9d170803.zip |
contrib: move patchers to contrib/kernel-tree
Diffstat (limited to 'contrib/patch-kernel-builtin.sh')
-rwxr-xr-x | contrib/patch-kernel-builtin.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/patch-kernel-builtin.sh b/contrib/patch-kernel-builtin.sh deleted file mode 100755 index 65cb489..0000000 --- a/contrib/patch-kernel-builtin.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -K="$1" -WG="$(readlink -f "$(dirname "$(readlink -f "$0")")/../src/")" - -if [[ ! -e $K/net/Kconfig ]]; then - echo "You must specify the location of kernel sources as the first argument." >&2 - exit 1 -fi - -sed -i "/^if INET\$/a source \"$WG/Kconfig\"" "$K/net/Kconfig" -echo "obj-y += ../../../../../../../../../../../../../../../../../../../../../..$WG/" >> "$K/net/Makefile" |