I’m trying to flash android source code into my Rockpi 4, and I’m using a Mac computer for the build. I’ve followed the instructions provided by source.android on how to setup a Mac environment, however I’m failing. The problem I encounter is that after downloading the source following the steps from: https://github.com/radxa/manifests, I can’t run build the u-boot. When I run ./make.sh rk3399, I get: “cannot execute binary file” errors because all the commands in this make-file assume I’m in a linux machine.
Is there a way I can configure the source files for me to be able to build in a Mac (darwin) machine?
I see that the source files have the option of selecting between linux or darwin in the prebuilts, but somehow the configuration assumed it was linux.
Thanks for your support and sorry if it’s a silly fix, I’m new to the android community.