mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-30 17:19:21 +01:00
cross-ng: remove kernel from hostreqs
This commit is contained in:
parent
1ea79fdb82
commit
cb518e03d7
@ -72,27 +72,6 @@
|
||||
<para><emphasis role="strong">Gzip-1.3.12</emphasis></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><emphasis role="strong">Linux Kernel-&min-kernel;</emphasis></para>
|
||||
|
||||
<para>The reason for the kernel version requirement is that we specify
|
||||
that version when building <application>glibc</application> in
|
||||
<xref linkend="chapter-cross-tools"/> and
|
||||
<xref linkend="chapter-building-system"/>,
|
||||
at the recommendation of the developers. It is also required by
|
||||
udev.</para>
|
||||
|
||||
<para>If the host kernel is earlier than &min-kernel; you will need to replace
|
||||
the kernel with a more up to date version. There are two ways
|
||||
you can go about this. First, see if your Linux vendor provides a &min-kernel;
|
||||
or later kernel package. If so, you may wish to install it. If your
|
||||
vendor doesn't offer an acceptable kernel package, or you would prefer not to
|
||||
install it, you can compile a kernel yourself. Instructions for
|
||||
compiling the kernel and configuring the boot loader (assuming the host
|
||||
uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
|
||||
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><emphasis role="strong">M4-1.4.10</emphasis></para>
|
||||
</listitem>
|
||||
|
@ -91,7 +91,7 @@ cd build</userinput></screen>
|
||||
--prefix=/usr \
|
||||
--host=$LFS_TGT \
|
||||
--build=$(../scripts/config.guess) \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--enable-kernel=&linux-major-version;.&linux-minor-version; \
|
||||
--with-headers=$LFS/usr/include \
|
||||
libc_cv_slibdir=/usr/lib</userinput></screen>
|
||||
|
||||
@ -108,11 +108,13 @@ cd build</userinput></screen>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-kernel=&min-kernel;</parameter></term>
|
||||
<term><parameter>--enable-kernel=&linux-major-version;.&linux-minor-version;</parameter></term>
|
||||
<listitem>
|
||||
<para>This tells Glibc to compile the library with support
|
||||
for &min-kernel; and later Linux kernels. Workarounds for older
|
||||
kernels are not enabled.</para>
|
||||
<para>This option tells the build system that this glibc may
|
||||
be used with kernels as old as
|
||||
&linux-major-version;.&linux-minor-version;. This means generating
|
||||
workarounds in case a system call introduced in a later version
|
||||
cannot be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
@ -72,7 +72,7 @@ cd build</userinput></screen>
|
||||
|
||||
<screen><userinput remap="configure">../configure --prefix=/usr \
|
||||
--disable-werror \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--enable-kernel=&linux-major-version;.&linux-minor-version; \
|
||||
--enable-stack-protector=strong \
|
||||
--with-headers=/usr/include \
|
||||
libc_cv_slibdir=/usr/lib</userinput></screen>
|
||||
@ -89,10 +89,11 @@ cd build</userinput></screen>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-kernel=&min-kernel;</parameter></term>
|
||||
<term><parameter>--enable-kernel=&linux-major-version;.&linux-minor-version;</parameter></term>
|
||||
<listitem>
|
||||
<para>This option tells the build system that this glibc may
|
||||
be used with kernels as old as &min-kernel;. This means generating
|
||||
be used with kernels as old as
|
||||
&linux-major-version;.&linux-minor-version;. This means generating
|
||||
workarounds in case a system call introduced in a later version
|
||||
cannot be used.</para>
|
||||
</listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user