更新 hanwckf_mt798x.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-01-18 20:54:38 +08:00
parent 226c692c89
commit 2a7dbcbe90

View File

@ -238,9 +238,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"