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