I'm currently trying to compile "am-sysinfo-1.0" under "ezsdk/example-applications/am-sysinfo-1.0", getting some strange error messages when compiling without any Makefile changes:
Building file: ../mem_util.c
Invoking: ARM Sourcery Linux GCC C Compiler
gcc -O0 -Wa,-adhlns="mem_util.o.lst" -c -fmessage-length=0 -MMD -MP
-MF"mem_util.d" -MT"mem_util.d" -mcpu=arm926ej-s -g3 -gdwarf-2
-o"mem_util.o" "../mem_util.c"
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../mem_util.c:1: error: bad value (arm926ej-s) for -mtune= switch
make[1]: *** [mem_util.o] Error 1
Judging from the Code Sourcery documentation, "arm92ej-s" should be a totally valid value, it only works when completely omitting the mcpu option. Changing mcpu tp mtune did also not work, any way to get this working properly? Is this Makefile supposed to be correct this way?
Thanks in advance