Re: [poky] modify 3rd party machine configuration
star <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected] <mailto:[email protected]>> > 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: [email protected] > Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=- >