Apply droid4 kernel patches on build.

This commit is contained in:
parazyd 2018-01-30 11:27:56 +01:00
parent be50a306bc
commit 5b1521a780
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 7 additions and 0 deletions

View File

@ -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 \