2010/11/18 Bas Mevissen <ab...@basmevissen.nl>

> On Thu, 18 Nov 2010 13:49:46 +0100, Bas Mevissen <ab...@basmevissen.nl>
> wrote:
> > It looks you are trying to cross compile something that needs to be
> > compiled for the host. Is there something defined in your environment
> > for cross compiling?
>
The mail escaped before being finished...
>
> The text
>
> Line: gcc -Os -pipe -march=armv5te -mtune=marvell-f -funit-at-a-time
> cmake_bootstrap_22734_test.c -o cmake_bootstrap_22734_test
>
> in the output you posted lets me suspect that you exported a CFLAGS
> define like
>
> export CFLAGS=-march=armv5te -mtune=marvell-f -funit-at-a-time
>
> somewhere.
>

This is a fresh checkout from trunk and I am trying to build for Marvell
Kirkwood ('Seagate Dockstar).

The CFLAGS from target/linux/kirkwood/Makefile are overriding include/
host-build.mk. So removing "include $(INCLUDE_DIR)/target.mk" from
tools/cmake/Makefile did it for me. Did you include it on purpose?
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to