AnsweredAssumed Answered

U-boot source code compilation issue

Question asked by pavan kumar on Jul 22, 2018

Hii ,

I am m trying to build the uboot (Android 8.1) for the board i.MX6 and getting this error after executing the sudo make command.


scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
CHK include/config/uboot.release
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CC lib/asm-offsets.s
lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
/*

Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
make[1]: *** [lib/asm-offsets.s] Error 1
Makefile:1282: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

 

 

Can u kindly help me out

Thanks and regards,

Pavan

Outcomes