This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: Unable to build U-Boot in SDK 4.0.0.4 for OMAPL138 LCDK

Other Parts Discussed in Thread: OMAPL138

Tool/software: Linux

Hi there, I have installed the SDK Linux 4.0.0.4 for OMAP L138 and have manged to get the pre-build images working but would like to build them using the  make files and I am having problems to build U-Boot using the followinf document :

Typed following commands:

$ make CROSS_COMPILE=arm-linux-gnueabihf- O=omapl138_lcdk omapl138_lcdk_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabihf- O=omapl138_lcdk 

ake[1]: Entering directory '/opt/ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04/board-support/u-boot-2017.01+gitAUTOINC+9fd60700db-g9fd60700db/omapl138_lcdk'
GEN ./Makefile
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
CFG spl/u-boot.cfg
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
UPD include/config/uboot.release
Using .. as source for U-Boot
GEN ./Makefile
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 (armv5te) for -march= switch
/*
^
.././Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
make[2]: *** [lib/asm-offsets.s] Error 1
/opt/ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04/board-support/u-boot-2017.01+gitAUTOINC+9fd60700db-g9fd60700db/Makefile:1286: recipe for target 'prepare0' failed
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory '/opt/ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04/board-support/u-boot-2017.01+gitAUTOINC+9fd60700db-g9fd60700db/omapl138_lcdk'
Makefile:150: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2