manuals: kernel-dev: Fix BSP in recipe space
PATCH 1/1 manuals: kernel-dev: Fix BSP in recipe space
File fetcher doesn't have destsuffix parameter.
--- documentation/kernel-dev/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/kernel-dev/advanced.rst +1 -1
@@ -718,7 +718,7 @@ If the BSP description is in recipe space, you cannot simply list the form from your kernel append file:: SRC_URI:append:myplatform = " \ - file://myplatform;type=kmeta;destsuffix=myplatform \ + file://myplatform;type=kmeta;subdir=myplatfrom \ " Metadata Outside the Recipe-Space
Signature · 1 line
2.35.1
Hi Slava
Quoted 12 lines · Vyacheslav Yurkov
File fetcher doesn't have destsuffix parameter.
Signed-off-by Vyacheslav Yurkov <[email protected]>--- documentation/kernel-dev/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)documentation/kernel-dev/advanced.rst +0
-0
documentation/kernel-dev/advanced.rst If the BSP description is in recipe space, you cannot simply list the · line 721
Quoted 5 lines
documentation/kernel-dev/advanced.rst +1
-1@@ -718,7 +718,7 @@ If the BSP description is in recipe space, you cannot simply list the form from your kernel append file:: SRC_URI:append:myplatform = " \ - file://myplatform;type=kmeta;destsuffix=myplatform \ + file://myplatform;type=kmeta;subdir=myplatfrom \
Many thanks for this fix.
Merged into "master-next".
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 3 lines · Vyacheslav Yurkov
File fetcher doesn't have destsuffix parameter.
While the file fetcher doesn't have that option, it was the fact that it didn't have it that kept things working.
If you use subdir, then in fact, a recipe space BSP doesn't work at all as the tools can't find the BSP definition.
The kernel-yocto bbclass is what is using this to set up search paths for kernel features when it sees the type=kmeta.
The option could have had a less confusing name (since it is effectively passthrough like "type=kmeta", but that's not something that I'm willing to change right now (I'll do it post release)
But the documents are correct, you do need destsuffix or the recipe-space BSP will not work.
Bruce
Quoted 22 lines
Signed-off-by Vyacheslav Yurkov <[email protected]>--- documentation/kernel-dev/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)documentation/kernel-dev/advanced.rst +1
-2@@ -718,7 +718,7 @@ If the BSP description is in recipe space, you cannot simply list the form from your kernel append file:: SRC_URI:append:myplatform = " \ - file://myplatform;type=kmeta;destsuffix=myplatform \ + file://myplatform;type=kmeta;subdir=myplatfrom \ " Metadata Outside the Recipe-Space --2.35.1
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4852): https://lists.yoctoproject.org/g/docs/message/4852
Mute This Topic: https://lists.yoctoproject.org/mt/104484337/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Quoted 12 lines · Bruce Ashfield
Quoted 2 lines · Vyacheslav Yurkov
File fetcher doesn't have destsuffix parameter.
While the file fetcher doesn't have that option, it was the fact that it didn't have it that kept things working.
If you use subdir, then in fact, a recipe space BSP doesn't work at all as the tools can't find the BSP definition.
The kernel-yocto bbclass is what is using this to set up search paths for kernel features when it sees the type=kmeta.
Quoted 9 lines
The option could have had a less confusing name (since it is effectively passthrough like "type=kmeta", but that's not something that I'm willing to change right now (I'll do it post release)
But the documents are correct, you do need destsuffix or the recipe-space BSP will not work.
Bruce
Oh, interesting. Perhaps the recipe-space BSP works this way, but the recipe-space additions for other parts of 'kmeta' didn't work for me. Whenever I wanted to extend kernel features that yocto-kernel-cache didn't have, I had to use subdir.
Slava