All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] external toolchain : lot's of package broken *.mk makefile
@ 2007-02-15 16:21 Matthieu CASTET
  0 siblings, 0 replies; only message in thread
From: Matthieu CASTET @ 2007-02-15 16:21 UTC (permalink / raw)
  To: buildroot

Hi,

I am very interrested to use the external toolchain features, because we want to
use glibc.

The problem with lot's of pakage *.mk makefile is that they assume that the
external libs will be installed in the toolchain dir not another dir.

For example for the procps pakage, there is an error [1].
The solution is to add somethings like
CPPFLAGS=-I$(STAGING_DIR)/include CFLAGS=-I$(STAGING_DIR)/include
LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" 

when calling the build process.

Matthieu


[1]
/opt/arm-2006q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../
arm-none-linux-gnueabi/bin/ld:
cannot find -lncurses

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-15 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 16:21 [Buildroot] external toolchain : lot's of package broken *.mk makefile Matthieu CASTET

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.