<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 5, 2016, at 9:38 PM, ryan woodsmall <<a href="mailto:rwoodsmall@gmail.com" class="">rwoodsmall@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">The idea is to build an as-close-to-stock-as-possible Poky (or another) distro, but include support for static linking natively in the installed OS. </div></div></blockquote><div><br class=""></div><div>In this case, you will call it poky but it will be far from poky. So its better to either define your own distro config based on poky, it also helps you when you ask</div><div>questions on mailing list. If you say I am using poky and make such changes you will miss to inform and people will not be able to reproduce your</div><div>issues. </div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">Some of the bits I build/ship, including standalone static cross and native toolchains, target Poky as the stable reference source OS. The poky-tiny definition with musl exists, but doesn't quite cover what I need, and some externals are built outside of bitbake, the SDK and packaging system, so static compilation limits required libraries and gives me some confidence that I'll run on Poky.</div></div></blockquote><div><br class=""></div><div>I think poky-tiny policy to let use static libs can be considered and I would encourage you to submit patch for poky tiny to let do that.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">It's not a big deal at all to do a custom Poky-based distro so I can head down that path, but thought this might be useful. The default remains sane, setting "--disable-static", but provides a knob to turn if the old feature is needed. Apologies if I missed the point here!</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 5, 2016 at 11:09 PM, Khem Raj <span dir="ltr" class=""><<a href="mailto:raj.khem@gmail.com" target="_blank" class="">raj.khem@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr" class=""><br class="">
On May 5, 2016 8:59 PM, "ryan woodsmall" <<a href="mailto:rwoodsmall@gmail.com" target="_blank" class="">rwoodsmall@gmail.com</a>> wrote:<br class="">
><br class="">
> Static libraries are mostly usable in very small embedded systems.<br class="">
> The addiiton of musl-libc support allows very small "single binary" systems,<br class="">
> and static linking allows no shared lib deps on these types of builds.<br class="">
><br class="">
> Signed-off-by: ryan woodsmall <<a href="mailto:rwoodsmall@gmail.com" target="_blank" class="">rwoodsmall@gmail.com</a>><br class="">
> ---<br class="">
> meta/conf/distro/include/no-static-libs.inc | 4 ++--<br class="">
> 1 file changed, 2 insertions(+), 2 deletions(-)<br class="">
><br class="">
> diff --git a/meta/conf/distro/include/no-static-libs.inc b/meta/conf/distro/include/no-static-libs.inc<br class="">
> index 13a7918..83472d5 100644<br class="">
> --- a/meta/conf/distro/include/no-static-libs.inc<br class="">
> +++ b/meta/conf/distro/include/no-static-libs.inc<br class="">
> @@ -1,4 +1,4 @@<br class="">
> -DISABLE_STATIC = " --disable-static"<br class="">
> +DISABLE_STATIC ?= " --disable-static"<br class="">
></p>
</span><p dir="ltr" class="">I think this defeats the essense of this inc file. Not including this file in your distro as a policy is what you want</p><p dir="ltr" class=""><span class="">> # qemu aborts on unrecognised option<br class="">
> DISABLE_STATIC_pn-qemu = ""<br class="">
> @@ -32,4 +32,4 @@ DISABLE_STATIC_pn-libusb1-native = ""<br class="">
><br class="">
> EXTRA_OECONF_append = "${DISABLE_STATIC}"<br class="">
><br class="">
> -EXTRA_OECMAKE_append_pn-libical = "-DSHARED_ONLY=True"<br class="">
> +EXTRA_OECMAKE_append_pn-libical ?= "-DSHARED_ONLY=True"<br class="">
> --<br class="">
> 2.6.4<br class="">
><br class=""></span><span class="HOEnZb"><font color="#888888" class="">
> --<br class="">
> _______________________________________________<br class="">
> Openembedded-core mailing list<br class="">
> <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank" class="">Openembedded-core@lists.openembedded.org</a><br class="">
> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" target="_blank" class="">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br class="">
</font></span></p>
</blockquote></div><br class=""></div>
-- <br class="">_______________________________________________<br class="">Openembedded-core mailing list<br class=""><a href="mailto:Openembedded-core@lists.openembedded.org" class="">Openembedded-core@lists.openembedded.org</a><br class="">http://lists.openembedded.org/mailman/listinfo/openembedded-core<br class=""></div></blockquote></div><br class=""></body></html>