Closed ioleon13 closed 10 years ago
Hello! I found the root caused of the issue, in the step of $ sudo make Cubieboard2 CROSS_COMPILE=arm-linux-gnueabihf- you should modify to: $ sudo make CROSS_COMPILE=arm-linux-gnueabihf- I found this solution in sunxi's official doc: http://linux-sunxi.org/U-Boot#Compilation
I downloaded the src and compile it as the following steps. The gcc version is gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) $ sudo make distclean CROSS_COMPILE=arm-linux-gnueabihf- $ sudo make Cubieboard2_config CROSS_COMPILE=arm-linux-gnueabihf- Configuring for Cubieboard2 - Board: sun7i, Options: CUBIEBOARD2,SPL,SUNXI_GMAC,STATUSLED=244,STATUSLED1=245,FAST_MBUS $ sudo make Cubieboard2 CROSS_COMPILE=arm-linux-gnueabihf- GEN include/autoconf.mk.dep GEN include/autoconf.mk make: *\ No rule to make target `Cubieboard2'. Stop.