[Buildroot] [PATCH 3/4] Makefile: generate CMake toolchain file in $(O)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Dec 23 07:48:13 UTC 2010


On Wed, 22 Dec 2010 22:32:30 +0100
Samuel Martin <s.martin49 at gmail.com> wrote:

> I haven't test external toolchain nor crosstool-NG, but afaik, crosstool-NG
> toolchain is copied in the BR staging,
> but not external ones.

The sysroot of external toolchain is copied to $(STAGING_DIR) as well.

> Btw, the toolchain is currently located in the staging, but if this change
> [1] (or if you're using a external tc), then, there needs to append both the
> staging directory and the toolchain directory to CMAKE_FIND_ROOT_PATH.

I don't know what you call the "toolchain directory", but the changes
made by Gustavo only *move* the location of the sysroot, but there will
still be only one location for it, and $(STAGING_DIR) will continue to
point to it.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list