diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-14 22:48:44 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-17 10:09:35 +0100 |
| commit | 292598164a304a3da3288e6fb8963f13045d1e7f (patch) | |
| tree | efedbbdc16cb2e0978a4d40e6a6294e32b0e496f /documentation/ref-manual/ref-qa-checks.rst | |
| parent | d313d972bf592de77f2af13cb3fc4226247cb1a1 (diff) | |
| download | poky-292598164a304a3da3288e6fb8963f13045d1e7f.tar.gz | |
sphinx: ref-manual links fixes and many other cleanups to import
(From yocto-docs rev: d079e418d5a81610e1f06a7a6ca45dd040c1402e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-qa-checks.rst')
| -rw-r--r-- | documentation/ref-manual/ref-qa-checks.rst | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.rst b/documentation/ref-manual/ref-qa-checks.rst index a56de690b1..3e76ac1509 100644 --- a/documentation/ref-manual/ref-qa-checks.rst +++ b/documentation/ref-manual/ref-qa-checks.rst | |||
| @@ -209,7 +209,10 @@ Errors and Warnings | |||
| 209 | Typically, the way to solve this performance issue is to add "-fPIC" | 209 | Typically, the way to solve this performance issue is to add "-fPIC" |
| 210 | or "-fpic" to the compiler command-line options. For example, given | 210 | or "-fpic" to the compiler command-line options. For example, given |
| 211 | software that reads :term:`CFLAGS` when you build it, | 211 | software that reads :term:`CFLAGS` when you build it, |
| 212 | you could add the following to your recipe: CFLAGS_append = " -fPIC " | 212 | you could add the following to your recipe: |
| 213 | :: | ||
| 214 | |||
| 215 | CFLAGS_append = " -fPIC " | ||
| 213 | 216 | ||
| 214 | For more information on text relocations at runtime, see | 217 | For more information on text relocations at runtime, see |
| 215 | http://www.akkadia.org/drepper/textrelocs.html. | 218 | http://www.akkadia.org/drepper/textrelocs.html. |
| @@ -224,7 +227,10 @@ Errors and Warnings | |||
| 224 | variable is being passed to the linker command. A common workaround | 227 | variable is being passed to the linker command. A common workaround |
| 225 | for this situation is to pass in ``LDFLAGS`` using | 228 | for this situation is to pass in ``LDFLAGS`` using |
| 226 | :term:`TARGET_CC_ARCH` within the recipe as | 229 | :term:`TARGET_CC_ARCH` within the recipe as |
| 227 | follows: TARGET_CC_ARCH += "${LDFLAGS}" | 230 | follows: |
| 231 | :: | ||
| 232 | |||
| 233 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 228 | 234 | ||
| 229 | 235 | ||
| 230 | 236 | ||
| @@ -244,10 +250,11 @@ Errors and Warnings | |||
| 244 | 250 | ||
| 245 | The ``/usr/share/info/dir`` should not be packaged. Add the following | 251 | The ``/usr/share/info/dir`` should not be packaged. Add the following |
| 246 | line to your :ref:`ref-tasks-install` task or to your | 252 | line to your :ref:`ref-tasks-install` task or to your |
| 247 | ``do_install_append`` within the recipe as follows: rm | 253 | ``do_install_append`` within the recipe as follows: |
| 248 | ${D}${infodir}/dir | 254 | :: |
| 249 | 255 | ||
| 250 | 256 | rm ${D}${infodir}/dir | |
| 257 | |||
| 251 | 258 | ||
| 252 | - ``Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]`` | 259 | - ``Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]`` |
| 253 | 260 | ||
