make crust for orangepi pc 看全部

hello everyone
I want to make crust for OrangePi pc (H3) but it took some errors which i can't understand about this.

` $ make

CPP build/scp/arch/or1k/scp.ld.o
CC build/scp/arch/or1k/counter.o
arm-orangepc-linux-gnueabihf-gcc: error: unrecognized command-line option ‘-msfimm’
arm-orangepc-linux-gnueabihf-gcc: error: unrecognized command-line option ‘-mshftimm’
arm-orangepc-linux-gnueabihf-gcc: error: unrecognized command-line option ‘-msoft-div’
arm-orangepc-linux-gnueabihf-gcc: error: unrecognized command-line option ‘-msoft-mul’
make: *** [Makefile:205: build/scp/arch/or1k/counter.o] Error 1

Actually, I generated that cross compiler by crosstool-ng , therefore, I made u-boot and kernel with the cross compiler. right now, I need to bl31.bin for orangepi pc. I can't understand about the or1k compiler and don't know where can get or how to generate this cross compiler.