diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2017-04-27 09:34:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-29 11:17:52 +0100 |
commit | 22f57cfbb15b3883dfcab7651fb6fe4ddc76b27b (patch) | |
tree | 99c687fa511672ea4d63d6072af4de12e9661eaf | |
parent | ef7e8f10a1e723a42d3d11c8fcaaaa68be4ced53 (diff) | |
download | poky-22f57cfbb15b3883dfcab7651fb6fe4ddc76b27b.tar.gz |
ref-manual: Added warning for nativesdk recipe naming convention
Fixes [YOCTO #11411]
To help clear up the importance of the naming convention a user
must follow when creating a nativesdk-myrecipe.bb recipe that
inherits the nativesdk class, I placed a warning note at the end
of the section for the "nativesdk.bbclass" section.
(From yocto-docs rev: e6dc512aaeb0267c2c15c17a599c6950728b4547)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 8f25c521c6..8fc0449ff9 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -2258,6 +2258,14 @@ | |||
2258 | functionality specific to the respective SDK machine or target | 2258 | functionality specific to the respective SDK machine or target |
2259 | case.</para></listitem> | 2259 | case.</para></listitem> |
2260 | </itemizedlist> | 2260 | </itemizedlist> |
2261 | <note><title>Warning</title> | ||
2262 | When creating a recipe, you must follow this naming convention: | ||
2263 | <literallayout class='monospaced'> | ||
2264 | nativesdk-<replaceable>myrecipe</replaceable>.bb | ||
2265 | </literallayout> | ||
2266 | Not doing so can lead to subtle problems because code exists | ||
2267 | that depends on the naming convention. | ||
2268 | </note> | ||
2261 | </para> | 2269 | </para> |
2262 | 2270 | ||
2263 | <para> | 2271 | <para> |