Will Tucker wrote:
> I get this error when trying the latest git tree.
> This is what i used to compile:
> 
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm644x_defconfig
> 
> // can't get this to work
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig
> 
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
> 
> 
> Any Ideas
> 
> 
> [EMAIL PROTECTED]:~/workdir/lsp/ti-davinci> make ARCH=arm
> CROSS_COMPILE=arm_v5t_le- uImage
>   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
> arch/arm/kernel/asm-offsets.c:1: error: invalid ABI option:
> -mabi=aapcs-linux
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
> [EMAIL PROTECTED]:~/workdir/lsp/ti-davinci>

Looks like you're gcc version  is < 4.x.  For gcc 3.x, the cmdline
option for EABI is different.

You can fix this in a few ways

1) Upgrade your compiler to gcc 4.x

2) Disable EABI compile (config option: CONFIG_AEABI).  If you're using
gcc3.x, you probalby don't have an EABI userland anyways.

3) Makefile to use -mabi=aapcs instead of -mabi=aapcs-linux

Kevin

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to