All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling buildhelper programs
@ 2008-07-24 16:49 Robert Schuster
  2008-07-24 17:32 ` Phil Blundell
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Schuster @ 2008-07-24 16:49 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

Hi,
I have a question regarding OE's build recipe policies. I am currently
creating a recipe for the Netscape Security Service library (libnss3-1d
on Debian) which builds a native 'nsinstall' binary.

Is it OK when the recipe provides the native CC via BUILD_CC to build
those helper binaries while at the same time TARGET_CC compiles the real
libraries and binaries or do we strictly want a separate -native recipe
that builds the helpers and injects them?

Regards
Robert


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compiling buildhelper programs
  2008-07-24 16:49 compiling buildhelper programs Robert Schuster
@ 2008-07-24 17:32 ` Phil Blundell
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Blundell @ 2008-07-24 17:32 UTC (permalink / raw)
  To: openembedded-devel

On Thu, 2008-07-24 at 18:49 +0200, Robert Schuster wrote:
> Is it OK when the recipe provides the native CC via BUILD_CC to build
> those helper binaries while at the same time TARGET_CC compiles the real
> libraries and binaries or do we strictly want a separate -native recipe
> that builds the helpers and injects them?

If they are strictly build time helpers for this one specific package,
and would have no use as part of any conceivable installed target
system, you can just build them with BUILD_CC and be done with it.  I
think there is precedent for this in at least some of the X11 packages.
If they are binaries that you might want to install on the target, you
should make a separate package for them, with a -native version, and
install them into staging.

p.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-24 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 16:49 compiling buildhelper programs Robert Schuster
2008-07-24 17:32 ` Phil Blundell

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.