Handle chromeveyron patches the same way with a for loop.

This commit is contained in:
parazyd 2018-06-12 13:35:45 +02:00
parent a04700dd93
commit 4b036dec4a
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
3 changed files with 3 additions and 2 deletions

View File

@ -81,8 +81,9 @@ build_kernel_armhf() {
pushd $R/tmp/kernels/$device_name/${device_name}-linux pushd $R/tmp/kernels/$device_name/${device_name}-linux
notice "patching kernel" notice "patching kernel"
patch -p1 --no-backup-if-mismatch < $R/extra/patches/0001-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch for i in $R/extra/patches/linux-chromeveyron-patches/*.patch ; do
patch -p1 --no-backup-if-mismatch < $R/extra/patches/0002-fix-brcmfmac-oops-and-race-condition.patch patch -p1 < "$i"
done
#WIFIVERSION="-3.8" make multi_v7_defconfig || zerr #WIFIVERSION="-3.8" make multi_v7_defconfig || zerr
copy-kernel-config copy-kernel-config