Skip to content
Permalink
Browse files

[ general ] Fixing wireguard breaking prepare headers #1278 and upstr…

…eam patch for sunxi-next
  • Loading branch information...
igorpecovnik committed Feb 13, 2019
1 parent 3ddaea4 commit 40557aebb30fd98c4fa9af74e9d277d93d9be226
Showing with 9,469 additions and 0 deletions.
  1. +3 −0 lib/compilation.sh
  2. +9,466 −0 patch/kernel/sunxi-next/patch-4.19.20-21.patch
@@ -273,6 +273,9 @@ compile_kernel()
sed -i '0,/wireguard/{/wireguard/d;}' $SRC/cache/sources/$LINUXSOURCEDIR/net/Kconfig
# patch for 4.4 kernel
display_alert "Patching WireGuard" "$(patch --directory=$SRC/cache/sources/wireguard --batch -p1 < $SRC/patch/misc/wireguard.patch)" "info"
# headers workaround
display_alert "Patching WireGuard" "Applying workaround for headers compilation" "info"
sed -i '/mkdir -p "$destdir"/a mkdir -p "$destdir"/net/wireguard; touch "$destdir"/net/wireguard/{Kconfig,Makefile} # workaround for Wireguard' scripts/package/builddeb
fi

# add drivers for Realtek 8811, 8812, 8814 and 8821 chipsets
Oops, something went wrong.

0 comments on commit 40557ae

Please sign in to comment.
You can’t perform that action at this time.