Do I need to explicitly copy what I install into the staging dir into the root dir in order for the new libraries to be included in the resulting image? <br><br>I have seen this done in the xml2 makefile and I wasn't sure if it was needed for every package.
<br><br>Dan<br><br>>On Wed, Aug 22, 2007 at 07:47:59PM -0400, Daniel Frey wrote:<br>>>When constructing my make files for my packages in the package/, what is the<br>>>suggested installation directory, TARGET_DIR or STAGING_DIR?
<br>>><br>>>Some of the included packages install them to STAGING_DIR. The<br>>>Documentation on the buildroot website has them installed in the TARGET_DIR.<br>>><br>>>Is there a correct way, or preferred way?
<br>><br>>Depends :)<br>><br>>Files that go straight to the target have to me installed to the<br>>TARGET_DIR. Intermediate files (prerequisites of stuff that will be on<br>>the target like helper libraries, headers, etc) have to live in
<br>>STAGING_DIR. Sometimes only a small fraction of files in the staging_dir<br>>is needed in the real target, so they are copied selectively.<br>><br>>HTH,<br>>Bernhard<br>