更新 Rockchip.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-01-19 17:12:36 +08:00
parent 6565a830dc
commit 827bf61531

View File

@ -295,9 +295,7 @@ make defconfig
# 编译 ZeroWrt # 编译 ZeroWrt
echo -e "${BLUE}开始编译 ZeroWrt...${NC}" echo -e "${BLUE}开始编译 ZeroWrt...${NC}"
echo -e "${YELLOW}使用所有可用的 CPU 核心进行并行编译...${NC}" echo -e "${YELLOW}使用所有可用的 CPU 核心进行并行编译...${NC}"
make -j$(nproc) || \ make -j$(nproc) || make -j1 || make -j1 V=s
echo -e "${RED}并行编译失败,回退到单核编译...${NC}" && make -j1 || \
echo -e "${RED}单核编译失败,启用详细输出调试...${NC}" && make -j1 V=s
# 输出编译完成的固件路径 # 输出编译完成的固件路径
echo -e "${GREEN}编译完成!固件已生成至:${NC} bin/targets" echo -e "${GREEN}编译完成!固件已生成至:${NC} bin/targets"