Reputation: 1102
I'd like to have a traditional way to build a development image and a production image, both pulling from the same recipes, but one differing with just debug tools/settings.
I've read that conditional includes in builds is not really how Yocto/Bitbake work, but thought perhaps the easiest way is to create a separate MACHINE folder, but perhaps have the debug work directory point to an additional layer with the debug stuff.
Upvotes: 0
Views: 1603
Reputation: 643
You can write two separate image recipes, and have them include what is needed (e.g. additional debug-oriented recipes).
Upvotes: 2