[Milkymist-devel] Issue with Linux COmpilation for Milkymist

Sébastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Sun Nov 8 06:55:21 PST 2009


Hi,

On Sunday 08 November 2009 15:00:39 Gautam Kalyanasundaram wrote:
>                              Sorry about the repeated emails. I figured out
> that the last message was because of an existing edited config file lying
> around. I did a make clean

Do "make mrproper" instead; "make clean" leaves a lot of options configured. 
From your messages, it seems you still have some i386 stuff lying around and 
causing problems.

> I still get a lot of options to be set during the make. Is there any way of
> avoiding this?

When your setup is correct (LM32 architecture correctly selected), you should 
not have any of these options to set.

So I suggest you try this:
1/ make mrproper
2/ cp xxxxx .config
3/ ARCH=lm32 make menuconfig # optional but enables you to double-check that 
you are building for a Milkymist SoC with LM32 CPU
4/ ARCH=lm32 CROSS_COMPILE=lm32-elf- make vmlinux

Sébastien


More information about the Devel mailing list