arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

commit 4b036dec4a48803a47b01bdbc01571556f9f7170
parent a04700dd9394c6b78925e7dbefdccb35b4161e63
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 12 Jun 2018 13:35:45 +0200

Handle chromeveyron patches the same way with a for loop.

Diffstat:
Mboards/chromebook-veyron.sh | 5+++--
Rextra/patches/0001-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch -> extra/patches/linux-chromeveyron-patches/0001-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch | 0
Rextra/patches/0002-fix-brcmfmac-oops-and-race-condition.patch -> extra/patches/linux-chromeveyron-patches/0002-fix-brcmfmac-oops-and-race-condition.patch | 0
3 files changed, 3 insertions(+), 2 deletions(-)

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