
I have following installed on my machine and want to develop a BPS for mips based board.
- eldk 3.1 mips-linux-x86 - U-Boot 1.1.1
I have setup the path to the installed eldk bins and setup the export CROSS_COMPILE to mips_4KC-.
I wanted to ensure that everything is setup correctly, so tried building the mips based boards such as purple and tb0229. In each case I get the following compile error.
mips_4KC-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0xB0000000 -I/home/jdudakia/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk3.1/usr/bin/../lib/gcc-lib/mips-linux/3.3.3/include -pipe -DCONFIG_MIPS -D__MIPS__ -mcpu=4kc -EB -mabicalls -Wall -Wstrict-prototypes -c -o stubs.o stubs.c cc1: error: invalid option `cpu=4kc' make[1]: *** [stubs.o] Error 1 make[1]: Leaving directory `/home/jdudakia/u-boot-1.1.1/examples' make: *** [examples] Error 2
I would appreciate it is someone can help. Thank you in advance.