diff --git a/toolchain/build.sh b/toolchain/build.sh index 8902a0e..3bded70 100644 --- a/toolchain/build.sh +++ b/toolchain/build.sh @@ -6,6 +6,14 @@ git clone -b openwrt-24.10 --single-branch --filter=blob:none https://github.com # Enter source code cd openwrt +# patch +wget https://raw.githubusercontent.com/oppen321/ZeroWrt-Action/refs/heads/master/patch/linux/0001-linux-module-video.patch +wget https://raw.githubusercontent.com/oppen321/ZeroWrt-Action/refs/heads/master/patch/linux/0002-rockchip-add-NanoPi-R4SE.patch +wget https://raw.githubusercontent.com/oppen321/ZeroWrt-Action/refs/heads/master/patch/linux/0003-include-kernel-defaults.mk.patch +git apply 0001-linux-module-video.patch +git apply 0002-rockchip-add-NanoPi-R4SE.patch +git apply 0003-include-kernel-defaults.mk.patch + # Init feeds ./scripts/feeds update -a ./scripts/feeds install -a