From: star <star@gmx.li>
To: poky@lists.yoctoproject.org
Subject: Re: [poky] modify 3rd party machine configuration
Date: Fri, 8 Sep 2023 15:54:53 +0200 [thread overview]
Message-ID: <221d6a2e-f545-d4e4-9c5b-d7c8a019db48@gmx.li> (raw)
In-Reply-To: <CAOgG7m17r=MYu=e8s5OnaWpUav3Yi+cw6oNOo6Q+p6HFNkV4dg@mail.gmail.com>
Hello Talel,
thank you so much. Things can be so easy ;)
I learn something new every day.
Best regards,
Steve
> Hello Steve,
>
> You can do the following:
>
> 1) create a new machine that includes your vendor's.
>
> my-layer/conf/machine/my-test-machine.conf
>
> containing:
>
> include conf/machine/test-machine.conf
>
> or
>
> require conf/machine/test-machine.conf
>
> 2) Add your modifications.
> 3) Set MACHINE to "my-test-machine"
>
> Kind regards
> Talel
>
> On Thu, Sep 7, 2023 at 3:16 PM Steve <star@gmx.li <mailto:star@gmx.li>>
> wrote:
>
> In a vendor layer there is a conf/machine/test-machine.conf that
> includes some inc files. This inc files have some settings as
> MACHINE_FEATURES = "a b c"
> IMAGE_CLASSES:append:generic-bsp = " image_populate_tool"
> PREFERRED_VERSION_opencv = "2.34"
>
> What I need is to change (add, remove, modify) some of the
> settings/lines.
>
> How can I do that in MY layer, so not touching the vendor layer.
>
> I thought I am adding a file
> my_layer/conf/machine/test-machine.conf (so same name) and put some line
> into it like:
> MACHINE_FEATURES:remove = "b"
> IMAGE_CLASSES:remove:generic-bsp = " image_populate_tool"
> PREFFERRED_VERSION_opencv = ""
>
> But that doesn't work and I can't figure out what I am doing wrong.
> In bblayer.conf my layer is mentioned later than vendor layer.
>
> How to solve that?
>
> Also I need to supress some files in vendor layer. Is it correct to use
> in my_layer/conf/layer.conf lines like:
> BBMASK .= " ${BSPDIR}/src/vendor_layer/recipe_test/*" to remove that
> from being used and parsed ?
>
> The problem to debug it, until the parsing fails, bitbake -e doesn't
> give you proper information about whats going on.
>
> Thanks for any help in advance!
> Steve
>
>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#13158): https://lists.yoctoproject.org/g/poky/message/13158
> Mute This Topic: https://lists.yoctoproject.org/mt/101215236/3618575
> Group Owner: poky+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [star@gmx.li]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2023-09-08 13:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-07 14:16 modify 3rd party machine configuration star
2023-09-07 16:39 ` [poky] " Talel BELHADJ SALEM
2023-09-08 13:54 ` star [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=221d6a2e-f545-d4e4-9c5b-d7c8a019db48@gmx.li \
--to=star@gmx.li \
--cc=poky@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).