1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Remove some patches

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-10-07 12:38:07 +02:00
parent e2fa6f313d
commit 5fa838088e

View file

@ -501,8 +501,15 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
echo "Set to kernel 5.4 for mediatek arch (BPI-R2)"
find target/linux/mediatek -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=5.10%KERNEL_PATCHVER:=5.4%g' {} \;
echo "Done"
rm -f package/kernel/mac80211/patches/build/firmware-replace-HOTPLUG-with-UEVENT-in-FW_ACTION-defines.patch
rm -f package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
if [ -f package/kernel/mac80211/patches/build/firmware-replace-HOTPLUG-with-UEVENT-in-FW_ACTION-defines.patch ]; then
rm -f package/kernel/mac80211/patches/build/firmware-replace-HOTPLUG-with-UEVENT-in-FW_ACTION-defines.patch
fi
if [ -f package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch ]; then
rm -f package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
fi
if [ -f target/linux/mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch ]; then
rm -f target/linux/mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch
fi
fi
if [ "$OMR_KERNEL" = "5.10" ]; then
echo "Set to kernel 5.10 for rpi arch"