[bitbake-devel] bitbake functions

Timofeev, Andrey atimof at mera.ru
Thu Nov 26 12:45:20 UTC 2015


Hello, guys,

We are using bitbake for our project, but we have faced with an issue.

We have a large amount of files and modules and we have a problem with large amount of bb files and we would like to reduce it.

I try to explain our issue:

Imagine that you have more than 10 target load modules that include more than 100 code modules.
And this target load modules have the same code modules.

I try to show it in example:


1)      We have 2 .bb files (tests.bb and product.bb)

2)      They include the same dependencies:
DEPENDS += a
DEPENDS += b
DEPENDS += c

But for product we want that a,b,c use TEST flag for building when we are building tests.bb and TARGET when building product.bb

So, we want that a,b,c to be able to inherit FLAGS from target bitbake (produce or tests).
I mean we want that all bitbakes which are participants in building know what is main bitbake.

Now, we are using *.inc files to decide this issue but it requires many bitbake files.

If you do not understand what I mean, please send me letter. I will try to explain in details.

Thank you!

Best regards,
Andrey Timofeev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20151126/b7ac4bd7/attachment-0002.html>


More information about the bitbake-devel mailing list