diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2024-03-30 18:56:12 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-04-19 04:50:40 -0700 |
commit | 364c5c906e20e8c3a5dc93309281b52ed92dc351 (patch) | |
tree | df56d514ec4c8871de3f6fa4fbb18545696345f9 | |
parent | 9f0fd0ad0ea38742c69d452030b454b9f3373d91 (diff) | |
download | poky-364c5c906e20e8c3a5dc93309281b52ed92dc351.tar.gz |
manuals: remove tab characters
As reported by "make sphinx-lint"
Tabs are even removed in Makefile examples,
as Sphinx turns them to spaces anyway in the generated output.
(From yocto-docs rev: fd1423141e7458ba557db465c171b0b4e9063987)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | documentation/dev-manual/layers.rst | 16 | ||||
-rw-r--r-- | documentation/dev-manual/wic.rst | 52 | ||||
-rw-r--r-- | documentation/kernel-dev/advanced.rst | 4 | ||||
-rw-r--r-- | documentation/kernel-dev/common.rst | 4 | ||||
-rw-r--r-- | documentation/profile-manual/usage.rst | 114 | ||||
-rw-r--r-- | documentation/ref-manual/terms.rst | 10 | ||||
-rw-r--r-- | documentation/sdk-manual/working-projects.rst | 10 |
7 files changed, 105 insertions, 105 deletions
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index 9bfbd726d9..e3f56199be 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst | |||
@@ -501,12 +501,12 @@ the "meta" layer at ``meta/recipes-bsp/formfactor``:: | |||
501 | INHIBIT_DEFAULT_DEPS = "1" | 501 | INHIBIT_DEFAULT_DEPS = "1" |
502 | 502 | ||
503 | do_install() { | 503 | do_install() { |
504 | # Install file only if it has contents | 504 | # Install file only if it has contents |
505 | install -d ${D}${sysconfdir}/formfactor/ | 505 | install -d ${D}${sysconfdir}/formfactor/ |
506 | install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/ | 506 | install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/ |
507 | if [ -s "${S}/machconfig" ]; then | 507 | if [ -s "${S}/machconfig" ]; then |
508 | install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/ | 508 | install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/ |
509 | fi | 509 | fi |
510 | } | 510 | } |
511 | 511 | ||
512 | In the main recipe, note the :term:`SRC_URI` | 512 | In the main recipe, note the :term:`SRC_URI` |
@@ -582,10 +582,10 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named | |||
582 | ALLOW_EMPTY:${PN} = "1" | 582 | ALLOW_EMPTY:${PN} = "1" |
583 | 583 | ||
584 | do_install () { | 584 | do_install () { |
585 | if test -s ${WORKDIR}/xorg.conf; then | 585 | if test -s ${WORKDIR}/xorg.conf; then |
586 | install -d ${D}/${sysconfdir}/X11 | 586 | install -d ${D}/${sysconfdir}/X11 |
587 | install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ | 587 | install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ |
588 | fi | 588 | fi |
589 | } | 589 | } |
590 | 590 | ||
591 | Here is the append file, which is named ``xserver-xf86-config_%.bbappend`` | 591 | Here is the append file, which is named ``xserver-xf86-config_%.bbappend`` |
diff --git a/documentation/dev-manual/wic.rst b/documentation/dev-manual/wic.rst index 687c9e6580..049996c39e 100644 --- a/documentation/dev-manual/wic.rst +++ b/documentation/dev-manual/wic.rst | |||
@@ -139,20 +139,20 @@ individual images through the ``list`` command. You can use the ``list`` | |||
139 | command to return the available Wic images as follows:: | 139 | command to return the available Wic images as follows:: |
140 | 140 | ||
141 | $ wic list images | 141 | $ wic list images |
142 | genericx86 Create an EFI disk image for genericx86* | 142 | genericx86 Create an EFI disk image for genericx86* |
143 | edgerouter Create SD card image for Edgerouter | 143 | edgerouter Create SD card image for Edgerouter |
144 | beaglebone-yocto Create SD card image for Beaglebone | 144 | beaglebone-yocto Create SD card image for Beaglebone |
145 | qemuriscv Create qcow2 image for RISC-V QEMU machines | 145 | qemuriscv Create qcow2 image for RISC-V QEMU machines |
146 | mkefidisk Create an EFI disk image | 146 | mkefidisk Create an EFI disk image |
147 | directdisk-multi-rootfs Create multi rootfs image using rootfs plugin | 147 | directdisk-multi-rootfs Create multi rootfs image using rootfs plugin |
148 | directdisk Create a 'pcbios' direct disk image | 148 | directdisk Create a 'pcbios' direct disk image |
149 | efi-bootdisk | 149 | efi-bootdisk |
150 | mkhybridiso Create a hybrid ISO image | 150 | mkhybridiso Create a hybrid ISO image |
151 | directdisk-gpt Create a 'pcbios' direct disk image | 151 | directdisk-gpt Create a 'pcbios' direct disk image |
152 | systemd-bootdisk Create an EFI disk image with systemd-boot | 152 | systemd-bootdisk Create an EFI disk image with systemd-boot |
153 | sdimage-bootpart Create SD card image with a boot partition | 153 | sdimage-bootpart Create SD card image with a boot partition |
154 | qemux86-directdisk Create a qemu machine 'pcbios' direct disk image | 154 | qemux86-directdisk Create a qemu machine 'pcbios' direct disk image |
155 | directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config | 155 | directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config |
156 | 156 | ||
157 | 157 | ||
158 | Once you know the list of available | 158 | Once you know the list of available |
@@ -283,20 +283,20 @@ following two locations:: | |||
283 | Use the following command to list the available kickstart files:: | 283 | Use the following command to list the available kickstart files:: |
284 | 284 | ||
285 | $ wic list images | 285 | $ wic list images |
286 | genericx86 Create an EFI disk image for genericx86* | 286 | genericx86 Create an EFI disk image for genericx86* |
287 | edgerouter Create SD card image for Edgerouter | 287 | edgerouter Create SD card image for Edgerouter |
288 | beaglebone-yocto Create SD card image for Beaglebone | 288 | beaglebone-yocto Create SD card image for Beaglebone |
289 | qemuriscv Create qcow2 image for RISC-V QEMU machines | 289 | qemuriscv Create qcow2 image for RISC-V QEMU machines |
290 | mkefidisk Create an EFI disk image | 290 | mkefidisk Create an EFI disk image |
291 | directdisk-multi-rootfs Create multi rootfs image using rootfs plugin | 291 | directdisk-multi-rootfs Create multi rootfs image using rootfs plugin |
292 | directdisk Create a 'pcbios' direct disk image | 292 | directdisk Create a 'pcbios' direct disk image |
293 | efi-bootdisk | 293 | efi-bootdisk |
294 | mkhybridiso Create a hybrid ISO image | 294 | mkhybridiso Create a hybrid ISO image |
295 | directdisk-gpt Create a 'pcbios' direct disk image | 295 | directdisk-gpt Create a 'pcbios' direct disk image |
296 | systemd-bootdisk Create an EFI disk image with systemd-boot | 296 | systemd-bootdisk Create an EFI disk image with systemd-boot |
297 | sdimage-bootpart Create SD card image with a boot partition | 297 | sdimage-bootpart Create SD card image with a boot partition |
298 | qemux86-directdisk Create a qemu machine 'pcbios' direct disk image | 298 | qemux86-directdisk Create a qemu machine 'pcbios' direct disk image |
299 | directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config | 299 | directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config |
300 | 300 | ||
301 | When you use an existing file, you | 301 | When you use an existing file, you |
302 | do not have to use the ``.wks`` extension. Here is an example in Raw | 302 | do not have to use the ``.wks`` extension. Here is an example in Raw |
diff --git a/documentation/kernel-dev/advanced.rst b/documentation/kernel-dev/advanced.rst index eae2d49ba4..f4820a4ad2 100644 --- a/documentation/kernel-dev/advanced.rst +++ b/documentation/kernel-dev/advanced.rst | |||
@@ -303,8 +303,8 @@ The following listings show the ``build.scc`` file and part of the | |||
303 | . | 303 | . |
304 | . | 304 | . |
305 | . | 305 | . |
306 | char *dump_write = NULL, *files_source = NULL; | 306 | char *dump_write = NULL, *files_source = NULL; |
307 | int opt; | 307 | int opt; |
308 | -- | 308 | -- |
309 | 2.10.1 | 309 | 2.10.1 |
310 | 310 | ||
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst index 3f9d8d48e4..815695652b 100644 --- a/documentation/kernel-dev/common.rst +++ b/documentation/kernel-dev/common.rst | |||
@@ -1749,10 +1749,10 @@ looks much like the one provided with the ``hello-mod`` template:: | |||
1749 | SRC := $(shell pwd) | 1749 | SRC := $(shell pwd) |
1750 | 1750 | ||
1751 | all: | 1751 | all: |
1752 | $(MAKE) -C $(KERNEL_SRC) M=$(SRC) | 1752 | $(MAKE) -C $(KERNEL_SRC) M=$(SRC) |
1753 | 1753 | ||
1754 | modules_install: | 1754 | modules_install: |
1755 | $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install | 1755 | $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install |
1756 | ... | 1756 | ... |
1757 | 1757 | ||
1758 | The important point to note here is the :term:`KERNEL_SRC` variable. The | 1758 | The important point to note here is the :term:`KERNEL_SRC` variable. The |
diff --git a/documentation/profile-manual/usage.rst b/documentation/profile-manual/usage.rst index cffb63e3f9..2ff12f434e 100644 --- a/documentation/profile-manual/usage.rst +++ b/documentation/profile-manual/usage.rst | |||
@@ -1044,13 +1044,13 @@ section:: | |||
1044 | name: do_fork | 1044 | name: do_fork |
1045 | ID: 944 | 1045 | ID: 944 |
1046 | format: | 1046 | format: |
1047 | field:unsigned short common_type; offset:0; size:2; signed:0; | 1047 | field:unsigned short common_type; offset:0; size:2; signed:0; |
1048 | field:unsigned char common_flags; offset:2; size:1; signed:0; | 1048 | field:unsigned char common_flags; offset:2; size:1; signed:0; |
1049 | field:unsigned char common_preempt_count; offset:3; size:1; signed:0; | 1049 | field:unsigned char common_preempt_count; offset:3; size:1; signed:0; |
1050 | field:int common_pid; offset:4; size:4; signed:1; | 1050 | field:int common_pid; offset:4; size:4; signed:1; |
1051 | field:int common_padding; offset:8; size:4; signed:1; | 1051 | field:int common_padding; offset:8; size:4; signed:1; |
1052 | 1052 | ||
1053 | field:unsigned long __probe_ip; offset:12; size:4; signed:0; | 1053 | field:unsigned long __probe_ip; offset:12; size:4; signed:0; |
1054 | 1054 | ||
1055 | print fmt: "(%lx)", REC->__probe_ip | 1055 | print fmt: "(%lx)", REC->__probe_ip |
1056 | 1056 | ||
@@ -1535,17 +1535,17 @@ like ftrace to display the event as text. The format of the | |||
1535 | name: kmalloc | 1535 | name: kmalloc |
1536 | ID: 313 | 1536 | ID: 313 |
1537 | format: | 1537 | format: |
1538 | field:unsigned short common_type; offset:0; size:2; signed:0; | 1538 | field:unsigned short common_type; offset:0; size:2; signed:0; |
1539 | field:unsigned char common_flags; offset:2; size:1; signed:0; | 1539 | field:unsigned char common_flags; offset:2; size:1; signed:0; |
1540 | field:unsigned char common_preempt_count; offset:3; size:1; signed:0; | 1540 | field:unsigned char common_preempt_count; offset:3; size:1; signed:0; |
1541 | field:int common_pid; offset:4; size:4; signed:1; | 1541 | field:int common_pid; offset:4; size:4; signed:1; |
1542 | field:int common_padding; offset:8; size:4; signed:1; | 1542 | field:int common_padding; offset:8; size:4; signed:1; |
1543 | 1543 | ||
1544 | field:unsigned long call_site; offset:16; size:8; signed:0; | 1544 | field:unsigned long call_site; offset:16; size:8; signed:0; |
1545 | field:const void * ptr; offset:24; size:8; signed:0; | 1545 | field:const void * ptr; offset:24; size:8; signed:0; |
1546 | field:size_t bytes_req; offset:32; size:8; signed:0; | 1546 | field:size_t bytes_req; offset:32; size:8; signed:0; |
1547 | field:size_t bytes_alloc; offset:40; size:8; signed:0; | 1547 | field:size_t bytes_alloc; offset:40; size:8; signed:0; |
1548 | field:gfp_t gfp_flags; offset:48; size:4; signed:0; | 1548 | field:gfp_t gfp_flags; offset:48; size:4; signed:0; |
1549 | 1549 | ||
1550 | print fmt: "call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s", REC->call_site, REC->ptr, REC->bytes_req, REC->bytes_alloc, | 1550 | print fmt: "call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s", REC->call_site, REC->ptr, REC->bytes_req, REC->bytes_alloc, |
1551 | (REC->gfp_flags) ? __print_flags(REC->gfp_flags, "|", {(unsigned long)(((( gfp_t)0x10u) | (( gfp_t)0x40u) | (( gfp_t)0x80u) | (( | 1551 | (REC->gfp_flags) ? __print_flags(REC->gfp_flags, "|", {(unsigned long)(((( gfp_t)0x10u) | (( gfp_t)0x40u) | (( gfp_t)0x80u) | (( |
@@ -2333,29 +2333,29 @@ first part of the filenames:: | |||
2333 | 8,32 1 0 58.516990819 0 m N cfq3551 put_queue | 2333 | 8,32 1 0 58.516990819 0 m N cfq3551 put_queue |
2334 | 2334 | ||
2335 | CPU0 (sdc): | 2335 | CPU0 (sdc): |
2336 | Reads Queued: 0, 0KiB Writes Queued: 331, 26,284KiB | 2336 | Reads Queued: 0, 0KiB Writes Queued: 331, 26,284KiB |
2337 | Read Dispatches: 0, 0KiB Write Dispatches: 485, 40,484KiB | 2337 | Read Dispatches: 0, 0KiB Write Dispatches: 485, 40,484KiB |
2338 | Reads Requeued: 0 Writes Requeued: 0 | 2338 | Reads Requeued: 0 Writes Requeued: 0 |
2339 | Reads Completed: 0, 0KiB Writes Completed: 511, 41,000KiB | 2339 | Reads Completed: 0, 0KiB Writes Completed: 511, 41,000KiB |
2340 | Read Merges: 0, 0KiB Write Merges: 13, 160KiB | 2340 | Read Merges: 0, 0KiB Write Merges: 13, 160KiB |
2341 | Read depth: 0 Write depth: 2 | 2341 | Read depth: 0 Write depth: 2 |
2342 | IO unplugs: 23 Timer unplugs: 0 | 2342 | IO unplugs: 23 Timer unplugs: 0 |
2343 | CPU1 (sdc): | 2343 | CPU1 (sdc): |
2344 | Reads Queued: 0, 0KiB Writes Queued: 249, 15,800KiB | 2344 | Reads Queued: 0, 0KiB Writes Queued: 249, 15,800KiB |
2345 | Read Dispatches: 0, 0KiB Write Dispatches: 42, 1,600KiB | 2345 | Read Dispatches: 0, 0KiB Write Dispatches: 42, 1,600KiB |
2346 | Reads Requeued: 0 Writes Requeued: 0 | 2346 | Reads Requeued: 0 Writes Requeued: 0 |
2347 | Reads Completed: 0, 0KiB Writes Completed: 16, 1,084KiB | 2347 | Reads Completed: 0, 0KiB Writes Completed: 16, 1,084KiB |
2348 | Read Merges: 0, 0KiB Write Merges: 40, 276KiB | 2348 | Read Merges: 0, 0KiB Write Merges: 40, 276KiB |
2349 | Read depth: 0 Write depth: 2 | 2349 | Read depth: 0 Write depth: 2 |
2350 | IO unplugs: 30 Timer unplugs: 1 | 2350 | IO unplugs: 30 Timer unplugs: 1 |
2351 | 2351 | ||
2352 | Total (sdc): | 2352 | Total (sdc): |
2353 | Reads Queued: 0, 0KiB Writes Queued: 580, 42,084KiB | 2353 | Reads Queued: 0, 0KiB Writes Queued: 580, 42,084KiB |
2354 | Read Dispatches: 0, 0KiB Write Dispatches: 527, 42,084KiB | 2354 | Read Dispatches: 0, 0KiB Write Dispatches: 527, 42,084KiB |
2355 | Reads Requeued: 0 Writes Requeued: 0 | 2355 | Reads Requeued: 0 Writes Requeued: 0 |
2356 | Reads Completed: 0, 0KiB Writes Completed: 527, 42,084KiB | 2356 | Reads Completed: 0, 0KiB Writes Completed: 527, 42,084KiB |
2357 | Read Merges: 0, 0KiB Write Merges: 53, 436KiB | 2357 | Read Merges: 0, 0KiB Write Merges: 53, 436KiB |
2358 | IO unplugs: 53 Timer unplugs: 1 | 2358 | IO unplugs: 53 Timer unplugs: 1 |
2359 | 2359 | ||
2360 | Throughput (R/W): 0KiB/s / 719KiB/s | 2360 | Throughput (R/W): 0KiB/s / 719KiB/s |
2361 | Events (sdc): 6,592 entries | 2361 | Events (sdc): 6,592 entries |
@@ -2478,29 +2478,29 @@ And run blkparse on the host system using the device name:: | |||
2478 | 8,32 1 0 177.266696560 0 m N cfq1267 put_queue | 2478 | 8,32 1 0 177.266696560 0 m N cfq1267 put_queue |
2479 | 2479 | ||
2480 | CPU0 (sdc): | 2480 | CPU0 (sdc): |
2481 | Reads Queued: 0, 0KiB Writes Queued: 270, 21,708KiB | 2481 | Reads Queued: 0, 0KiB Writes Queued: 270, 21,708KiB |
2482 | Read Dispatches: 59, 2,628KiB Write Dispatches: 495, 39,964KiB | 2482 | Read Dispatches: 59, 2,628KiB Write Dispatches: 495, 39,964KiB |
2483 | Reads Requeued: 0 Writes Requeued: 0 | 2483 | Reads Requeued: 0 Writes Requeued: 0 |
2484 | Reads Completed: 90, 2,752KiB Writes Completed: 543, 41,596KiB | 2484 | Reads Completed: 90, 2,752KiB Writes Completed: 543, 41,596KiB |
2485 | Read Merges: 0, 0KiB Write Merges: 9, 344KiB | 2485 | Read Merges: 0, 0KiB Write Merges: 9, 344KiB |
2486 | Read depth: 2 Write depth: 2 | 2486 | Read depth: 2 Write depth: 2 |
2487 | IO unplugs: 20 Timer unplugs: 1 | 2487 | IO unplugs: 20 Timer unplugs: 1 |
2488 | CPU1 (sdc): | 2488 | CPU1 (sdc): |
2489 | Reads Queued: 688, 2,752KiB Writes Queued: 381, 20,652KiB | 2489 | Reads Queued: 688, 2,752KiB Writes Queued: 381, 20,652KiB |
2490 | Read Dispatches: 31, 124KiB Write Dispatches: 59, 2,396KiB | 2490 | Read Dispatches: 31, 124KiB Write Dispatches: 59, 2,396KiB |
2491 | Reads Requeued: 0 Writes Requeued: 0 | 2491 | Reads Requeued: 0 Writes Requeued: 0 |
2492 | Reads Completed: 0, 0KiB Writes Completed: 11, 764KiB | 2492 | Reads Completed: 0, 0KiB Writes Completed: 11, 764KiB |
2493 | Read Merges: 598, 2,392KiB Write Merges: 88, 448KiB | 2493 | Read Merges: 598, 2,392KiB Write Merges: 88, 448KiB |
2494 | Read depth: 2 Write depth: 2 | 2494 | Read depth: 2 Write depth: 2 |
2495 | IO unplugs: 52 Timer unplugs: 0 | 2495 | IO unplugs: 52 Timer unplugs: 0 |
2496 | 2496 | ||
2497 | Total (sdc): | 2497 | Total (sdc): |
2498 | Reads Queued: 688, 2,752KiB Writes Queued: 651, 42,360KiB | 2498 | Reads Queued: 688, 2,752KiB Writes Queued: 651, 42,360KiB |
2499 | Read Dispatches: 90, 2,752KiB Write Dispatches: 554, 42,360KiB | 2499 | Read Dispatches: 90, 2,752KiB Write Dispatches: 554, 42,360KiB |
2500 | Reads Requeued: 0 Writes Requeued: 0 | 2500 | Reads Requeued: 0 Writes Requeued: 0 |
2501 | Reads Completed: 90, 2,752KiB Writes Completed: 554, 42,360KiB | 2501 | Reads Completed: 90, 2,752KiB Writes Completed: 554, 42,360KiB |
2502 | Read Merges: 598, 2,392KiB Write Merges: 97, 792KiB | 2502 | Read Merges: 598, 2,392KiB Write Merges: 97, 792KiB |
2503 | IO unplugs: 72 Timer unplugs: 1 | 2503 | IO unplugs: 72 Timer unplugs: 1 |
2504 | 2504 | ||
2505 | Throughput (R/W): 15KiB/s / 238KiB/s | 2505 | Throughput (R/W): 15KiB/s / 238KiB/s |
2506 | Events (sdc): 9,301 entries | 2506 | Events (sdc): 9,301 entries |
diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst index bc09613db7..2b9bccb4a9 100644 --- a/documentation/ref-manual/terms.rst +++ b/documentation/ref-manual/terms.rst | |||
@@ -226,23 +226,23 @@ universal, the list includes them just in case: | |||
226 | 226 | ||
227 | As far as bootloaders are concerned, :term:`Initramfs` and "initrd" | 227 | As far as bootloaders are concerned, :term:`Initramfs` and "initrd" |
228 | images are still copied to RAM in the same way. That's why most | 228 | images are still copied to RAM in the same way. That's why most |
229 | most bootloaders refer to :term:`Initramfs` images as "initrd" | 229 | most bootloaders refer to :term:`Initramfs` images as "initrd" |
230 | or "init RAM disk". | 230 | or "init RAM disk". |
231 | 231 | ||
232 | This kind of mechanism is typically used for two reasons: | 232 | This kind of mechanism is typically used for two reasons: |
233 | 233 | ||
234 | - For booting the same kernel binary on multiple systems requiring | 234 | - For booting the same kernel binary on multiple systems requiring |
235 | different device drivers. The :term:`Initramfs` image is then customized | 235 | different device drivers. The :term:`Initramfs` image is then customized |
236 | for each type of system, to include the specific kernel modules | 236 | for each type of system, to include the specific kernel modules |
237 | necessary to access the final root filesystem. This technique | 237 | necessary to access the final root filesystem. This technique |
238 | is used on all GNU / Linux distributions for desktops and servers. | 238 | is used on all GNU / Linux distributions for desktops and servers. |
239 | 239 | ||
240 | - For booting faster. As the root filesystem is extracted into RAM, | 240 | - For booting faster. As the root filesystem is extracted into RAM, |
241 | accessing the first user-space applications is very fast, compared | 241 | accessing the first user-space applications is very fast, compared |
242 | to having to initialize a block device, to access multiple blocks | 242 | to having to initialize a block device, to access multiple blocks |
243 | from it, and to go through a filesystem having its own overhead. | 243 | from it, and to go through a filesystem having its own overhead. |
244 | For example, this allows to display a splashscreen very early, | 244 | For example, this allows to display a splashscreen very early, |
245 | and to later take care of mounting the final root filesystem and | 245 | and to later take care of mounting the final root filesystem and |
246 | loading less time-critical kernel drivers. | 246 | loading less time-critical kernel drivers. |
247 | 247 | ||
248 | This cpio archive can either be loaded to RAM by the bootloader, | 248 | This cpio archive can either be loaded to RAM by the bootloader, |
diff --git a/documentation/sdk-manual/working-projects.rst b/documentation/sdk-manual/working-projects.rst index 7483d51fa3..296d7d8464 100644 --- a/documentation/sdk-manual/working-projects.rst +++ b/documentation/sdk-manual/working-projects.rst | |||
@@ -286,14 +286,14 @@ example: | |||
286 | # CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux | 286 | # CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux |
287 | # CC="gcc" | 287 | # CC="gcc" |
288 | all: main.o module.o | 288 | all: main.o module.o |
289 | ${CC} main.o module.o -o target_bin | 289 | ${CC} main.o module.o -o target_bin |
290 | main.o: main.c module.h | 290 | main.o: main.c module.h |
291 | ${CC} -I . -c main.c | 291 | ${CC} -I . -c main.c |
292 | module.o: module.c | 292 | module.o: module.c |
293 | module.h ${CC} -I . -c module.c | 293 | module.h ${CC} -I . -c module.c |
294 | clean: | 294 | clean: |
295 | rm -rf *.o | 295 | rm -rf *.o |
296 | rm target_bin | 296 | rm target_bin |
297 | 297 | ||
298 | 4. *Make the Project:* Use the ``make`` command to create the binary | 298 | 4. *Make the Project:* Use the ``make`` command to create the binary |
299 | output file. Because variables are commented out in the Makefile, the | 299 | output file. Because variables are commented out in the Makefile, the |