coolsnowwolf / lede

Lean's LEDE source
Other
29.81k stars 19.52k forks source link

R2S/R4S无法编译 #9924

Closed bi4tms closed 2 years ago

bi4tms commented 2 years ago

拉取最新源码编译5.10内核的R2S、R4S均失败

日志如下: Makefile:78: recipe for target '/home/r2s.510/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/image-rk3568-station-p2.dtb' failed make[5]: [/home/r2s.510/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/image-rk3568-station-p2.dtb] Error 1 make[5]: Leaving directory '/home/r2s.510/lede/target/linux/rockchip/image' Makefile:25: recipe for target 'install' failed make[4]: [install] Error 2 make[4]: Leaving directory '/home/r2s.510/lede/target/linux/rockchip' Makefile:11: recipe for target 'install' failed make[3]: [install] Error 2 make[3]: Leaving directory '/home/r2s.510/lede/target/linux' time: target/linux/install#9.78#46.90#59.67 ERROR: target/linux failed to build. target/Makefile:23: recipe for target 'target/linux/install' failed make[2]: [target/linux/install] Error 1 make[2]: Leaving directory '/home/r2s.510/lede' target/Makefile:19: recipe for target '/home/r2s.510/lede/staging_dir/target-aarch64_generic_musl/stamp/.target_install' failed make[1]: [/home/r2s.510/lede/staging_dir/target-aarch64_generic_musl/stamp/.target_install] Error 2 make[1]: Leaving directory '/home/r2s.510/lede' /home/r2s.510/lede/include/toplevel.mk:228: recipe for target 'world' failed make: [world] Error 2

zhangguanzhang commented 2 years ago

https://github.com/coolsnowwolf/lede/issues/9922 参照这个

sed -ri '/^\s*TARGET_DEVICES\s.+?(fastrhino_r66s|firefly_station-p2)/d' target/linux/rockchip/image/armv8.mk