source: BOOK/bootable/alpha/kernel.xml@ c01b0f33

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c01b0f33 was 0408d56, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Prevent GCC from treating warnings as errors when building the kernel on alpha.

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-bootable-kernel" role="wrap">
9 <?dbhtml filename="kernel.html"?>
10
11 <title>Linux-&linux-version;</title>
12
13 <indexterm zone="ch-bootable-kernel">
14 <primary sortas="a-Linux">Linux</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../x86/kernel.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of the kernel</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../x86/kernel.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28 <para os="a1">The following patch moves the PAGE_SIZE definiton in the
29 headers so it is available for userspace.</para>
30
31<screen os="a2"><userinput>patch -Np1 -i ../&linux-alpha_PAGE_SIZE-patch;</userinput></screen>
32
33 <para os="a3">The following sed prevents GCC from treating warnings as
34 errors when the kernel is compiled.</para>
35
36<screen os="a4"><userinput>sed -i "s/-Werror//" arch/alpha/kernel/Makefile</userinput></screen>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../x86/kernel.xml"
40 xpointer="xpointer(//*[@os='b'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../x86/kernel.xml"
44 xpointer="xpointer(//*[@os='c'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../x86/kernel.xml"
48 xpointer="xpointer(//*[@os='d'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../x86/kernel.xml"
52 xpointer="xpointer(//*[@os='h'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../x86/kernel.xml"
56 xpointer="xpointer(//*[@os='i'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../x86/kernel.xml"
60 xpointer="xpointer(//*[@os='j'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../x86/kernel.xml"
64 xpointer="xpointer(//*[@os='k'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../x86/kernel.xml"
68 xpointer="xpointer(//*[@os='m'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../x86/kernel.xml"
72 xpointer="xpointer(//*[@os='n'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../x86/kernel.xml"
76 xpointer="xpointer(//*[@os='o'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../x86/kernel.xml"
80 xpointer="xpointer(//*[@os='p'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/kernel.xml"
84 xpointer="xpointer(//*[@os='q'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../x86/kernel.xml"
88 xpointer="xpointer(//*[@os='r'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../x86/kernel.xml"
92 xpointer="xpointer(//*[@os='s'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../x86/kernel.xml"
96 xpointer="xpointer(//*[@os='t'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../x86/kernel.xml"
100 xpointer="xpointer(//*[@os='u'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../x86/kernel.xml"
104 xpointer="xpointer(//*[@os='v'])"/>
105
106<screen><userinput>cp vmlinux /boot/clfskernel-&linux-version;</userinput></screen>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../x86/kernel.xml"
110 xpointer="xpointer(//*[@os='w'])"/>
111
112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
113 href="../x86/kernel.xml"
114 xpointer="xpointer(//*[@os='w1'])"/>
115
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../x86/kernel.xml"
118 xpointer="xpointer(//*[@os='x'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
121 href="../x86/kernel.xml"
122 xpointer="xpointer(//*[@os='x1'])"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
125 href="../x86/kernel.xml"
126 xpointer="xpointer(//*[@os='y'])"/>
127
128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
129 href="../x86/kernel.xml"
130 xpointer="xpointer(//*[@os='y1'])"/>
131
132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
133 href="../x86/kernel.xml"
134 xpointer="xpointer(//*[@os='z'])"/>
135
136 </sect2>
137
138 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
139 href="../x86/kernel.xml"
140 xpointer="xpointer(id('contents-kernel'))"/>
141
142</sect1>
Note: See TracBrowser for help on using the repository browser.