compiling buildhelper programs
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
Quoted 4 lines · Robert Schuster
Is it OK when the recipe provides the native CC via
BUILD_CCto build those helper binaries while at the same timeTARGET_CCcompiles 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.