summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2020-02-18 16:33:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-11 14:41:44 +0000
commitcff864901861f80e0c3ed030499ae88d5f01befc (patch)
treef85cd59aaf8615f1f836fb18e98d4c0660c96317 /documentation/kernel-dev
parent0daf901b5be2c1e3ac7e4c274b293e4679ecc10d (diff)
downloadpoky-cff864901861f80e0c3ed030499ae88d5f01befc.tar.gz
manuals: Updates to reflect that MACHINE defaults to qemux86-64
meta-yocto commit 69ddecdb1516 [local.conf.sample: change default MACHINE to qemux86-64] switched the default MACHINE from 'qemux86' to 'qemux86-64' but some documents which either explicitly mentioned the default, or where this was implicit didn't receive an equivalent update. Where it made sense we continue this change in default to the docs. In other places, such as the kernel-dev manual, we note the new default and instruct the user how to switch back to 'qemux86'. Eventually we should probably update the kernel-dev manual to use the default, but for now the intention was to limit the impact of these changes. Note that ext3 has also been replaced with ext4 for image generation, so while we are modifying runqemu lines to qemux86-64 we also make the change to reference ext4 such that the runqemu commands will function properly. (From yocto-docs rev: 8c1d8ab1170f47a2c2692beb903ab0b7c6835b7b) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r--documentation/kernel-dev/kernel-dev-common.xml24
1 files changed, 14 insertions, 10 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 2ea5d3f38e..d94ed1942d 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -89,8 +89,8 @@
89 <emphasis>Prepare Your <filename>local.conf</filename> File:</emphasis> 89 <emphasis>Prepare Your <filename>local.conf</filename> File:</emphasis>
90 By default, the 90 By default, the
91 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink> 91 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
92 variable is set to "qemux86", which is fine if you are 92 variable is set to "qemux86-64", which is fine if you are
93 building for the QEMU emulator in 32-bit mode. 93 building for the QEMU emulator in 64-bit mode.
94 However, if you are not, you need to set the 94 However, if you are not, you need to set the
95 <filename>MACHINE</filename> variable appropriately in 95 <filename>MACHINE</filename> variable appropriately in
96 your <filename>conf/local.conf</filename> file found in 96 your <filename>conf/local.conf</filename> file found in
@@ -104,10 +104,12 @@
104 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS'><filename>MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS</filename></ulink> 104 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS'><filename>MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS</filename></ulink>
105 variable to include kernel modules.</para> 105 variable to include kernel modules.</para>
106 106
107 <para>This example uses the default "qemux86" for the 107 <para>In this example we wish to build for qemux86 so
108 <filename>MACHINE</filename> variable but needs to 108 we must set the <filename>MACHINE</filename> variable
109 add the "kernel-modules": 109 to "qemux86" and also add the "kernel-modules". As described
110 we do this by appending to <filename>conf/local.conf</filename>:
110 <literallayout class='monospaced'> 111 <literallayout class='monospaced'>
112 MACHINE = "qemux86"
111 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules" 113 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"
112 </literallayout> 114 </literallayout>
113 </para></listitem> 115 </para></listitem>
@@ -314,8 +316,8 @@
314 File:</emphasis> 316 File:</emphasis>
315 By default, the 317 By default, the
316 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink> 318 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
317 variable is set to "qemux86", which is fine if you are 319 variable is set to "qemux86-64", which is fine if you are
318 building for the QEMU emulator in 32-bit mode. 320 building for the QEMU emulator in 64-bit mode.
319 However, if you are not, you need to set the 321 However, if you are not, you need to set the
320 <filename>MACHINE</filename> variable appropriately in 322 <filename>MACHINE</filename> variable appropriately in
321 your <filename>conf/local.conf</filename> file found 323 your <filename>conf/local.conf</filename> file found
@@ -329,10 +331,12 @@
329 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS'><filename>MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS</filename></ulink> 331 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS'><filename>MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS</filename></ulink>
330 variable to include kernel modules.</para> 332 variable to include kernel modules.</para>
331 333
332 <para>This example uses the default "qemux86" for the 334 <para>In this example we wish to build for qemux86 so
333 <filename>MACHINE</filename> variable but needs to 335 we must set the <filename>MACHINE</filename> variable
334 add the "kernel-modules": 336 to "qemux86" and also add the "kernel-modules". As described
337 we do this by appending to <filename>conf/local.conf</filename>:
335 <literallayout class='monospaced'> 338 <literallayout class='monospaced'>
339 MACHINE = "qemux86"
336 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules" 340 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"
337 </literallayout> 341 </literallayout>
338 </para></listitem> 342 </para></listitem>