[yocto] INHIBIT_SYSROOT_STRIP

Dimitris Tassopoulos dimtass at gmail.com
Wed Mar 6 11:27:13 PST 2019


My use case, as I've told to Scott, was building a bare metal firmware for
a cortex m0 with an external GCC toolchain. Although, the toolchain's
binaries are strippable, there are some other blob files that are needed
for the build, which are not.

Cheers,
Dimitris

Scott Rifenbark <srifenbark at gmail.com> schrieb am Mi., 6. März 2019, 19:55:

> Got it. Thanks Khem.
>
> On Wed, Mar 6, 2019 at 10:22 AM Khem Raj <raj.khem at gmail.com> wrote:
>
>> On Wed, Mar 6, 2019 at 9:48 AM Scott Rifenbark <srifenbark at gmail.com>
>> wrote:
>> >
>> > I think we should probably at least document the variable in the YP
>> Reference Manual's glossary.  Correct?
>> >
>>
>> yes and also mention that we only expect it to be used in rare special
>> curcumstances, e,g, prebuilt binaries etc.
>>
>> > Scott
>> >
>> > On Wed, Mar 6, 2019 at 9:24 AM Khem Raj <raj.khem at gmail.com> wrote:
>> >>
>> >> On Wed, Mar 6, 2019 at 8:15 AM Scott Rifenbark <srifenbark at gmail.com>
>> wrote:
>> >> >
>> >> > Dimitris,
>> >> >
>> >> > Good find... I will see about documenting this.
>> >> >
>> >>
>> >> Although its not encouranged to use it, its to be used as a last resort
>> >> we use it sparingly.
>> >>
>> >> > Scott
>> >> >
>> >> > On Wed, Mar 6, 2019 at 8:12 AM Dimitris Tassopoulos <
>> dimtass at gmail.com> wrote:
>> >> >>
>> >> >> Hi all,
>> >> >>
>> >> >> this is not a request for help.
>> >> >>
>> >> >> Today, I've found a very nice option which is not documented
>> >> >> which is the INHIBIT_SYSROOT_STRIP and is used in the
>> sysroot_strip()
>> >> >> inside the poky/meta/classes/staging.bbclass.
>> >> >>
>> >> >> I had an issue with a recipe that had a few binaries that I wanted
>> to add to the
>> >> >> recipe-sysroot-native in order to build another package and I was
>> getting errors
>> >> >> because the do_populate_sysroot couldn't strip those binaries. I've
>> searched in
>> >> >> the source and found that the author of that code was handling this
>> case, but it's
>> >> >> not documented (at least in the latest mega-manual).
>> >> >>
>> >> >> Therefore, I'm dropping this message as a reference to other that
>> might need it.
>> >> >>
>> >> >> Regards,
>> >> >> Dimitris
>> >> >> --
>> >> >> _______________________________________________
>> >> >> yocto mailing list
>> >> >> yocto at yoctoproject.org
>> >> >> https://lists.yoctoproject.org/listinfo/yocto
>> >> >
>> >> > --
>> >> > _______________________________________________
>> >> > yocto mailing list
>> >> > yocto at yoctoproject.org
>> >> > https://lists.yoctoproject.org/listinfo/yocto
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190306/073b5ca3/attachment.html>


More information about the yocto mailing list