All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: document dependency tracking associated with addpylib
@ 2026-10-12  8:25 Yann Dirson
  2026-10-12 13:08   ` Antonin Godard
  0 siblings, 1 reply; 9+ messages in thread
From: Yann Dirson @ 2026-10-12  8:25 UTC (permalink / raw)
  To: bitbake-devel; +Cc: docs, Yann Dirson

[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]

Reported-by: Claude Opus 5.5
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index 621aab253..eef1f9624 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -2264,6 +2264,14 @@ The specified <namespace> is imported automatically, and if the imported
 module specifies an attribute named ``BBIMPORTS``, that list of
 sub-modules is iterated and imported too.
 
+Additionally, Bitbake will detect usage of functions from such a
+library and include them in task hashes, so changes in those functions
+trigger task rebuilds.  Note that only functions inside modules
+declared using ``BBIMPORTS`` benefit from this dependency tracking,
+any name defined directly in the specified namespace (e.g. in
+`<namespace>/__init__.py`, or in a library hat would be defined as
+`<namespace>.py`) would *not* benefit from this tracking.
+
 Testing and Debugging BitBake Python code
 -----------------------------------------
 
-- 
2.47.3



--
Yann Dirson | Vates Platform Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-10-13 17:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-12  8:25 [PATCH] doc: document dependency tracking associated with addpylib Yann Dirson
2026-10-12 13:08 ` [bitbake-devel] " Antonin Godard
2026-10-12 13:08   ` Antonin Godard
2026-10-12 13:20   ` Antonin Godard
2026-10-12 13:20     ` Antonin Godard
2026-10-13  9:56     ` Yann Dirson
2026-10-13 12:09       ` Antonin Godard
2026-10-13 13:10         ` Richard Purdie
2026-10-13 14:05           ` Yann Dirson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.