Hi,
I am working on the Freescale i.MX31 dev board by Phytec. After configuring the kernel, when I try and build it i get the following error message:
noam@linux-9zj8:~/linux-2.6.19.2> make ARCH=arm
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC arch/arm/kernel/asm-offsets.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
arch/arm/kernel/asm-offsets.c:1: error: bad value (armv5t) for -march= switch
arch/arm/kernel/asm-offsets.c:1: error: bad value (strongarm) for -mtune= switch
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
The command line options which are not recognised are in a makefile which is specific to the arm processors (it is called by the main makefile). I am using OpenSuse 11.0 as my OS with 2.6.25.5 kernel (in a KDE 3.5 environment) and I am trying to compile a 2.6.19.2 kernel for my target device.
Help would be much appreciated!!!
Cheers, Noam.