Another external toolchain support solution
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 Dec 2008 16:15:50 +0000 (16:15 -0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 Dec 2008 16:15:50 +0000 (16:15 -0000)
commit978d8dc53e997203c7244c9cb599247c68e1c72e
tree9f4eb8a611b5a862732e9e1169b78c7b07e0f958
parent0dc552c13453e11ca7bb6b05694b31d32da67c6f
Another external toolchain support solution

 * In toolchain/external-toolchain/ext-tool.mk, copy the contents of
   the sysroot directory to the staging dir.

 * In package/Makefile.in, add a --sysroot CFLAGS pointing to the
   staging dir

 * Remove the CFLAGS and LDFLAGS definition from
   TARGET_CONFIGURE_OPTS. I haven't investigated exactly why, but with
   these options, DirectFB fails to build because it cannot find
   PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, even if DirectFB's Makefile
   properly sets -D_GNU_SOURCE.

I have already sent this patch on December, 2nd to the mailing-list,
but got no feedback. So let's commit and see what happens :-)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in
toolchain/external-toolchain/ext-tool.mk