From: star <star@gmx.li>
To: poky@lists.yoctoproject.org
Subject: modify 3rd party machine configuration
Date: Thu, 7 Sep 2023 16:16:00 +0200 [thread overview]
Message-ID: <e4d1cb39-2711-c664-7161-5a6d25482c87@gmx.li> (raw)
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
next reply other threads:[~2023-09-07 14:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-07 14:16 star [this message]
2023-09-07 16:39 ` [poky] modify 3rd party machine configuration Talel BELHADJ SALEM
2023-09-08 13:54 ` star
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=e4d1cb39-2711-c664-7161-5a6d25482c87@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).