更新 toolchain/build.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-03-24 16:32:07 +08:00
parent 62a27a92da
commit 09e85f3856

View File

@ -30,6 +30,9 @@ echo -e "CONFIG_DEVEL=y" >> .config
echo -e "CONFIG_TOOLCHAINOPTS=y" >> .config echo -e "CONFIG_TOOLCHAINOPTS=y" >> .config
echo -e "CONFIG_GCC_USE_VERSION_${gcc_version}=y\n" >> .config echo -e "CONFIG_GCC_USE_VERSION_${gcc_version}=y\n" >> .config
# bpf
curl -s https://raw.githubusercontent.com/oppen321/ZeroWrt-Action/refs/heads/master/generic/config-bpf/generic/config-bpf >> .config
# Compile # Compile
make defconfig make defconfig
make -j$cores toolchain/compile || make -j$cores toolchain/compile V=s || exit 1 make -j$cores toolchain/compile || make -j$cores toolchain/compile V=s || exit 1