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
|
get-kernel-sources
|
||||||
pushd $R/tmp/kernels/$device_name/${device_name}-linux
|
pushd $R/tmp/kernels/$device_name/${device_name}-linux
|
||||||
|
git checkout -- .
|
||||||
copy-kernel-config
|
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
|
# compile kernel and modules
|
||||||
make \
|
make \
|
||||||
$MAKEOPTS \
|
$MAKEOPTS \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue