You didn't properly export cc, so it defaulted to x86
On Jan 24, 2015 1:10 PM, "William Pretty Security" <bill.pre...@xplornet.com>
wrote:

> Hello all;
>
>
>
> I have been following these instructions:
> https://eewiki.net/display/linuxonarm/BeagleBone+Black
>
>
>
> And I get the following error after I execute this command:
>
>
>
> root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC} distclean
>
> root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC}
> am335x_evm_defconfig
>
>   HOSTCC  scripts/basic/fixdep
>
>   HOSTCC  scripts/kconfig/conf.o
>
>   SHIPPED scripts/kconfig/zconf.tab.c
>
>   SHIPPED scripts/kconfig/zconf.lex.c
>
>   SHIPPED scripts/kconfig/zconf.hash.c
>
>   HOSTCC  scripts/kconfig/zconf.tab.o
>
>   HOSTLD  scripts/kconfig/conf
>
> #
>
> # configuration written to .config
>
> #
>
> #
>
> # configuration written to spl/.config
>
> #
>
> root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC}
>
> scripts/kconfig/conf --silentoldconfig Kconfig
>
> scripts/kconfig/conf --silentoldconfig Kconfig
>
>   CHK     include/config.h
>
>   UPD     include/config.h
>
>   GEN     include/autoconf.mk
>
> cc1: error: bad value (armv5) for -march= switch
>
> make[2]: *** [include/autoconf.mk] Error 1
>
> make[1]: *** [silentoldconfig] Error 1
>
> make: *** No rule to make target `include/config/auto.conf', needed by
> `include/config/uboot.release'.  Stop.
>
>
>
> Does anyone know how to fix this ?
>
>
>
> Thanks;
>
>
>
> Bill
>
>
>
> "No one could make a greater mistake than he who did nothing because he
> could do only a little."
>
> "All that is necessary for the triumph of evil is that good men do
> nothing" Edmond Burke *(1729 - 1797)*
>
>
> http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book
>
> http://ca.linkedin.com/pub/bill-pretty/2b/b07/602
>
>
>
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to