From 4b036dec4a48803a47b01bdbc01571556f9f7170 Mon Sep 17 00:00:00 2001 From: parazyd Date: Tue, 12 Jun 2018 13:35:45 +0200 Subject: [PATCH] Handle chromeveyron patches the same way with a for loop. --- boards/chromebook-veyron.sh | 5 +++-- ...PSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch | 0 .../0002-fix-brcmfmac-oops-and-race-condition.patch | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename extra/patches/{ => linux-chromeveyron-patches}/0001-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch (100%) rename extra/patches/{ => linux-chromeveyron-patches}/0002-fix-brcmfmac-oops-and-race-condition.patch (100%) diff --git a/boards/chromebook-veyron.sh b/boards/chromebook-veyron.sh index b4a468d..dd02c4b 100644 --- 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 similarity index 100% rename from extra/patches/0001-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch rename to 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 similarity index 100% rename from extra/patches/0002-fix-brcmfmac-oops-and-race-condition.patch rename to extra/patches/linux-chromeveyron-patches/0002-fix-brcmfmac-oops-and-race-condition.patch