Hi there! Thanks for providing OpenWrt!
I'm completely new to OpenWrt development but I'm keen to develop Rust-based applications that target the Onion Omega2 devices. I'm not particularly interested in building OpenWrt images at this stage; just applications.
I'm having difficulties setting up the OpenWrt development environment on my Apple M1 Max. I realise this development platform is unsupported, but I'm wondering what it'd take to get the toolchain built at least.
Upon having invoked make menuconfig
and configuring my target, I'm then met with the following when attempting to then make
:
time: tools/xz/compile#0.07#0.09#0.20
ERROR: tools/xz failed to build.
make[2]: *** [tools/Makefile:159: tools/xz/compile] Error 1
make[2]: Leaving directory '/Volumes/OpenWrt/openwrt'
make[1]: *** [tools/Makefile:155: /Volumes/OpenWrt/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyyyyynyynnyyyynyyyyyyyyyyyyyyyynynnyyyyyyy] Error 2
make[1]: Leaving directory '/Volumes/OpenWrt/openwrt'
make: *** [/Volumes/OpenWrt/openwrt/include/toplevel.mk:230: toolchain/install] Error 2
Am I doomed? Thanks.