Migrating BSP to new Bitbake sintax #1314
fabiocabaceira
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi Fabio, You just need to run the convert-overrides on a first step because it fixes the most critical bitbake parsing errors. You can check the conversion seeing the status of the bitbake parsing runing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
Recently, I have been working with the Jetson Orin NX using the Kirkstone branch. I am transforming a BSP layer that only has the Dunfell branch into the Kirkstone branch to make the image work for the Jetson Orin NX.
One of the first problems I encountered was that the bitbake syntax had changed. After researching the Yocto and BitBake documentation, I discovered that Yocto has provided three scripts to help migrate from the old syntax to the new one (convert-overrides.py, convert-variable-renames.py, and convert-srcuri.py).
I have created a bash script attached to this message to make this process a bit easier for me. I am sharing this message to see if I missed anything regarding the migration from the old syntax to the new one and to ask if you have any tips.
Instructions for running the script:
Create the script under layers/scripts for it to work properly.
Example: tegra-demo-distro/layers/scripts$ touch syntax.sh
Run the script under layers/scripts for it to work properly.
Example: tegra-demo-distro/layers/scripts$ bash syntax.sh
sintax.txt
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions