[yocto] How to install dbg package and not its dependencies?

Ngọc Thi Huỳnh so61pi.re at gmail.com
Wed May 31 07:25:51 PDT 2017


Thank you very much, setting that flag helped!

Huỳnh Ngọc Thi
-so61pi

On Tue, May 30, 2017 at 8:34 PM, Petter Mabäcker <petter at technux.se> wrote:

> Hi,
>
> If the problem is the footprint, then you can add below line in the
> libexample recipe:
>
> INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>
> This will prevent the build system from adding any debug info in the
> libexample-dbg package.
>
> BR Petter
>
> [1] - http://www.yoctoproject.org/docs/current/ref-manual/ref-
> manual.html#var-INHIBIT_PACKAGE_DEBUG_SPLIT
>
>
>
> Petter Mabäcker
>
> Technux <petter at technux.se>www.technux.se
>
> 2017-05-30 04:17 skrev Ngọc Thi Huỳnh:
>
> I have both app-example*-dbg* & app-example in IMAGE_INSTALL and the
> result is app-example-dbg & app-example & libexample-dbg & libexample are
> included in the final image.
>
> Huỳnh Ngọc Thi
> -so61pi
>
> On Mon, May 29, 2017 at 9:58 PM, Leonardo Sandoval <
> leonardo.sandoval.gonzalez at linux.intel.com> wrote:
>
>> On Sun, 2017-05-28 at 17:23 +0700, Ngọc Thi Huỳnh wrote:
>> > Hi everyone,
>> >
>> >
>> > Let's say I have app-example package which depends on libexample.
>> >
>> > When I add app-example-dbg to IMAGE_INSTALL, libexample-dbg package is
>> > automatically included in the final image which makes the image size
>> > become bigger.
>> >
>> what about installing the non-dbg ones?
>> >
>> > In this case, is there a way to prevent libexample-dbg from being
>> > installed?
>> >
>> >
>> > Thanks,
>> >
>> > Thi Huynh
>> >
>> > --
>> > _______________________________________________
>> > 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/20170531/b7bfeaa2/attachment.html>


More information about the yocto mailing list