[Buildroot] Do I need to install twice?

Peter Korsgaard jacmet at uclibc.org
Wed Apr 1 18:38:03 UTC 2009

>>>>> "Lloyd" == Lloyd Sargent <lloyd at cannasoftware.com> writes:

 Lloyd> HOWEVER, I'm a little stumped. If I do the following:


 Lloyd> The include directory is deleted so I am unable to build files for
 Lloyd> WxWidgets. But my libraries are in the right place.

 Lloyd> To have include files I can build against I added this line:


 Lloyd> It gets me the include files but I've this bad feeling that it isn't
 Lloyd> the right way to do it.

 Lloyd> So have I got this right? Or have I just made a blunder?

No, it's because of the difference between TARGET_DIR and
STAGING_DIR. TARGET_DIR is your final target rootfs, where you
normally don't need header files and so on. For libraries we
additionally install them into STAGING_DIR and tell gcc to look for
header files there.

Bye, Peter Korsgaard

More information about the buildroot mailing list