Changeset 21ba4e3 for chapter08/kernel-inst.xml
- Timestamp:
- 10/09/2003 11:22:07 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 27d9bc1a
- Parents:
- 1a7aecc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kernel-inst.xml
r1a7aecc6 r21ba4e3 11 11 <para>Prepare for compilation by running the following command:</para> 12 12 13 < para><screen><userinput>make mrproper</userinput></screen></para>13 <screen><userinput>make mrproper</userinput></screen> 14 14 15 15 <para>This ensures that the kernel tree is absolutely clean. The kernel … … 20 20 <para>Configure the kernel via a menu-driven interface:</para> 21 21 22 < para><screen><userinput>make menuconfig</userinput></screen></para>22 <screen><userinput>make menuconfig</userinput></screen> 23 23 24 24 <para><userinput>make oldconfig</userinput> may be more appropriate … … 40 40 <para>Verify dependencies and create dependency information files:</para> 41 41 42 < para><screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc dep</userinput></screen></para>42 <screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc dep</userinput></screen> 43 43 44 44 <para>Compile the kernel image:</para> 45 45 46 < para><screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc bzImage</userinput></screen></para>46 <screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc bzImage</userinput></screen> 47 47 48 48 <para>Compile the drivers which have been configured as modules:</para> 49 49 50 < para><screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc modules</userinput></screen></para>50 <screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc modules</userinput></screen> 51 51 52 52 <para>If you intend to use kernel modules, you will need an … … 61 61 <para>Install the modules:</para> 62 62 63 < para><screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc modules_install</userinput></screen></para>63 <screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc modules_install</userinput></screen> 64 64 65 65 <para>As nothing is complete without documentation, build the manual pages 66 66 that come with the kernel:</para> 67 67 68 < para><screen><userinput>make mandocs</userinput></screen></para>68 <screen><userinput>make mandocs</userinput></screen> 69 69 70 70 <para>And install these pages:</para> 71 71 72 < para><screen><userinput>cp -a Documentation/man /usr/share/man/man9</userinput></screen></para>72 <screen><userinput>cp -a Documentation/man /usr/share/man/man9</userinput></screen> 73 73 74 74 <para>Kernel compilation has finished, but some of the files created … … 80 80 you're using. Issue the following command to install the kernel:</para> 81 81 82 < para><screen><userinput>cp arch/i386/boot/bzImage /boot/lfskernel</userinput></screen></para>82 <screen><userinput>cp arch/i386/boot/bzImage /boot/lfskernel</userinput></screen> 83 83 84 84 <para><filename>System.map</filename> is a symbol file for the kernel. … … 87 87 kernel. Issue the following command to install the map file:</para> 88 88 89 < para><screen><userinput>cp System.map /boot</userinput></screen></para>89 <screen><userinput>cp System.map /boot</userinput></screen> 90 90 91 91 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.