From 292598164a304a3da3288e6fb8963f13045d1e7f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 14 Sep 2020 22:48:44 +0200 Subject: sphinx: ref-manual links fixes and many other cleanups to import (From yocto-docs rev: d079e418d5a81610e1f06a7a6ca45dd040c1402e) Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-qa-checks.rst | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'documentation/ref-manual/ref-qa-checks.rst') 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 Typically, the way to solve this performance issue is to add "-fPIC" or "-fpic" to the compiler command-line options. For example, given software that reads :term:`CFLAGS` when you build it, - you could add the following to your recipe: CFLAGS_append = " -fPIC " + you could add the following to your recipe: + :: + + CFLAGS_append = " -fPIC " For more information on text relocations at runtime, see http://www.akkadia.org/drepper/textrelocs.html. @@ -224,7 +227,10 @@ Errors and Warnings variable is being passed to the linker command. A common workaround for this situation is to pass in ``LDFLAGS`` using :term:`TARGET_CC_ARCH` within the recipe as - follows: TARGET_CC_ARCH += "${LDFLAGS}" + follows: + :: + + TARGET_CC_ARCH += "${LDFLAGS}"   @@ -244,10 +250,11 @@ Errors and Warnings The ``/usr/share/info/dir`` should not be packaged. Add the following line to your :ref:`ref-tasks-install` task or to your - ``do_install_append`` within the recipe as follows: rm - ${D}${infodir}/dir + ``do_install_append`` within the recipe as follows: + :: -   + rm ${D}${infodir}/dir +   - ``Symlink in points to TMPDIR [symlink-to-sysroot]`` -- cgit v1.2.3-54-g00ecf