summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/qa-checks.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-04-16 18:27:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-23 16:39:03 +0100
commitc3c6de21876aad811e08538544c8fe76d22ccd09 (patch)
treee22ee00a9c1ec588965f32050a42e05946bc9f71 /documentation/ref-manual/qa-checks.rst
parent773536c333248214f8f41eff698d8bfd3c687249 (diff)
downloadpoky-c3c6de21876aad811e08538544c8fe76d22ccd09.tar.gz
manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed by code insertion. Automatically substituted through the command: sed -i -z "s/:\n\s*::/::/g" file.rst This generates identical HTML output. (From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/qa-checks.rst')
-rw-r--r--documentation/ref-manual/qa-checks.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst
index 79d2d4266a..9cc4c577c7 100644
--- a/documentation/ref-manual/qa-checks.rst
+++ b/documentation/ref-manual/qa-checks.rst
@@ -221,8 +221,7 @@ Errors and Warnings
221 Typically, the way to solve this performance issue is to add "-fPIC" 221 Typically, the way to solve this performance issue is to add "-fPIC"
222 or "-fpic" to the compiler command-line options. For example, given 222 or "-fpic" to the compiler command-line options. For example, given
223 software that reads :term:`CFLAGS` when you build it, 223 software that reads :term:`CFLAGS` when you build it,
224 you could add the following to your recipe: 224 you could add the following to your recipe::
225 ::
226 225
227 CFLAGS_append = " -fPIC " 226 CFLAGS_append = " -fPIC "
228 227
@@ -240,8 +239,7 @@ Errors and Warnings
240 variable is being passed to the linker command. A common workaround 239 variable is being passed to the linker command. A common workaround
241 for this situation is to pass in ``LDFLAGS`` using 240 for this situation is to pass in ``LDFLAGS`` using
242 :term:`TARGET_CC_ARCH` within the recipe as 241 :term:`TARGET_CC_ARCH` within the recipe as
243 follows: 242 follows::
244 ::
245 243
246 TARGET_CC_ARCH += "${LDFLAGS}" 244 TARGET_CC_ARCH += "${LDFLAGS}"
247 245
@@ -265,8 +263,7 @@ Errors and Warnings
265 263
266 The ``/usr/share/info/dir`` should not be packaged. Add the following 264 The ``/usr/share/info/dir`` should not be packaged. Add the following
267 line to your :ref:`ref-tasks-install` task or to your 265 line to your :ref:`ref-tasks-install` task or to your
268 ``do_install_append`` within the recipe as follows: 266 ``do_install_append`` within the recipe as follows::
269 ::
270 267
271 rm ${D}${infodir}/dir 268 rm ${D}${infodir}/dir
272   269