[U-Boot] "Kbuild:43: recipe for target 'lib/asm-offsets.s' failed"

R White pwmvsi at gmail.com
Sun Oct 28 00:58:53 UTC 2018


*People,*


*Can anyone tell me what I am doing wrong?  Am I missing something?*


*I have even reloaded the machine, everything.  *
*Rick*
======================================================================================

ricky at debian:/embedded/u-boot-2017.09$ sudo apt-get install
device-tree-compiler
Reading package lists... Done
Building dependency tree
Reading state information... Done
device-tree-compiler is already the newest version (1.4.2-1).
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
ricky at debian:/embedded/u-boot-2017.09$ echo $ARCH
arm
ricky at debian:/embedded/u-boot-2017.09$ CROSS_COMPILE=arm-linux-gnueabi-
ricky at debian:/embedded/u-boot-2017.09$ export ARCH
ricky at debian:/embedded/u-boot-2017.09$ export CROSS_COMPILE
ricky at debian:/embedded/u-boot-2017.09$ sudo make am335x_evm_config
#
# configuration written to .config
#
ricky at debian:/embedded/u-boot-2017.09$ sudo make
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     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
  CHK     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:1331: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
ricky at debian:/embedded/u-boot-2017.09$


More information about the U-Boot mailing list