JN516x Beyond Architecture (OpenRisc-inspired) micro controller compiler repository for homebrew
patch < 100-jn51xx-multilib.patch
patch < 101-support-recent-texinfo.patch
patch < cfns.h.patch
mkdir build
cd build
../configure
make
make install
-- Hmm, better use instructions found here: https://github.com/alephsecurity/BA2-toolchain