mirror of https://github.com/parazyd/arm-sdk.git
Apply droid4 kernel patches on build.
This commit is contained in:
parent
be50a306bc
commit
5b1521a780
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue