[Buildroot] external toolchain : lot's of package broken *.mk makefile
Matthieu CASTET
matthieu.castet at parrot.fr
Thu Feb 15 16:21:07 UTC 2007
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
More information about the buildroot
mailing list