From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Frey Date: Tue, 28 Aug 2007 07:35:03 -0400 Subject: [Buildroot] User-space packages - Staging_Dir or Target_Dir Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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? I have seen this done in the xml2 makefile and I wasn't sure if it was needed for every package. Dan >On Wed, Aug 22, 2007 at 07:47:59PM -0400, Daniel Frey wrote: >>When constructing my make files for my packages in the package/, what is the >>suggested installation directory, TARGET_DIR or STAGING_DIR? >> >>Some of the included packages install them to STAGING_DIR. The >>Documentation on the buildroot website has them installed in the TARGET_DIR. >> >>Is there a correct way, or preferred way? > >Depends :) > >Files that go straight to the target have to me installed to the >TARGET_DIR. Intermediate files (prerequisites of stuff that will be on >the target like helper libraries, headers, etc) have to live in >STAGING_DIR. Sometimes only a small fraction of files in the staging_dir >is needed in the real target, so they are copied selectively. > >HTH, >Bernhard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://busybox.net/lists/buildroot/attachments/20070828/84514f0e/attachment.htm