summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 18:00:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 18:00:54 +0200
commit51b27073af44ac5b299281727a99e4869f7603e7 (patch)
tree2658c0fe67d640aacaee35458dd905c097039fad
parent20e64e1be3fef7625f44e52a2ce953c971f531e2 (diff)
kernel-tree: remember UAPI in patch creation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rwxr-xr-xkernel-tree-scripts/create-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel-tree-scripts/create-patch.sh b/kernel-tree-scripts/create-patch.sh
index de3d888..ee96adf 100755
--- a/kernel-tree-scripts/create-patch.sh
+++ b/kernel-tree-scripts/create-patch.sh
@@ -2,7 +2,7 @@
WG="$(readlink -f "$(dirname "$(readlink -f "$0")")/../../src/")"
-for i in "$WG"/*.c "$WG"/*.h "$WG"/selftest/*.h "$WG"/crypto/*.c "$WG"/crypto/*.h "$WG"/crypto/*.S "$WG"/Kbuild "$WG"/Kconfig $(find "$WG"/compat -name '*.c' -o -name '*.h' -o -name '*.include'); do
+for i in "$WG"/*.c "$WG"/*.h "$WG"/uapi/*.h "$WG"/selftest/*.h "$WG"/crypto/*.c "$WG"/crypto/*.h "$WG"/crypto/*.S "$WG"/Kbuild "$WG"/Kconfig $(find "$WG"/compat -name '*.c' -o -name '*.h' -o -name '*.include'); do
diff -u /dev/null "$i" | sed "s:${WG}:b/net/wireguard:;s:Kbuild:Makefile:"
done