meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sw:yocto:bitbake:operators [2022/08/16 21:44] – niziak | sw:yocto:bitbake:operators [2025/07/15 08:26] (current) – niziak | ||
---|---|---|---|
Line 12: | Line 12: | ||
* If '' | * If '' | ||
* **Solution**: | * **Solution**: | ||
+ | |||
+ | ====== Override operators ====== | ||
+ | |||
+ | * '': | ||
+ | * '': | ||
+ | * '': | ||
+ | |||
+ | The overrides are applied in this order, '': | ||
+ | |||
+ | More: [[https:// | ||
+ | |||
+ | ====== SRC_URI_append ====== | ||
+ | |||
+ | When multiple '' | ||
+ | |||
+ | poky/ | ||
+ | <code python> | ||
+ | def src_patches(d, | ||
+ | import oe.patch | ||
+ | return oe.patch.src_patches(d, | ||
+ | </ | ||
+ | |||
+ | poky/ | ||
+ | <code python> | ||
+ | def src_patches(d, | ||
+ | fetch = bb.fetch2.Fetch([], | ||
+ | patches = [] | ||
+ | sources = [] | ||
+ | for url in fetch.urls: | ||
+ | local = patch_path(url, | ||
+ | if not local: | ||
+ | if all: | ||
+ | local = fetch.localpath(url) | ||
+ | sources.append(local) | ||
+ | continue | ||
+ | ... | ||
+ | localurl = bb.fetch.encodeurl((' | ||
+ | patches.append(localurl) | ||
+ | | ||
+ | if all: | ||
+ | return sources | ||
+ | |||
+ | return patches | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||