commit 5b1521a7800be02519a8cebfd7fbbe461d9b9126 parent be50a306bc767ffa76ed60c74c1c6f336deeda6b Author: parazyd <parazyd@dyne.org> Date: Tue, 30 Jan 2018 11:27:56 +0100 Apply droid4 kernel patches on build. Diffstat:
M | boards/droid4.sh | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/boards/droid4.sh b/boards/droid4.sh @@ -72,8 +72,15 @@ build_kernel_${arch}() { get-kernel-sources pushd $R/tmp/kernels/$device_name/${device_name}-linux + git checkout -- . copy-kernel-config + _patchdir="$R/extra/patches/linux-droid4-patches" + _patchset="$(find ${_patchdir} -name '*.patch' | sort)" + for i in "$_patchset"; do + patch -p1 < "$i" + done + # compile kernel and modules make \ $MAKEOPTS \