Changeset cb518e0


Ignore:
Timestamp:
02/26/2022 04:01:39 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
7d7f246
Parents:
1ea79fd
git-author:
Xi Ruoyao <xry111@…> (02/19/2022 04:25:04 AM)
git-committer:
Xi Ruoyao <xry111@…> (02/26/2022 04:01:39 PM)
Message:

cross-ng: remove kernel from hostreqs

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter02/hostreqs.xml

    r1ea79fd rcb518e0  
    7171    <listitem>
    7272      <para><emphasis role="strong">Gzip-1.3.12</emphasis></para>
    73     </listitem>
    74 
    75     <listitem>
    76       <para><emphasis role="strong">Linux Kernel-&min-kernel;</emphasis></para>
    77 
    78       <para>The reason for the kernel version requirement is that we specify
    79       that version when building <application>glibc</application> in
    80       <xref linkend="chapter-cross-tools"/> and
    81       <xref linkend="chapter-building-system"/>,
    82       at the recommendation of the developers.  It is also required by
    83       udev.</para>
    84 
    85       <para>If the host kernel is earlier than &min-kernel; you will need to replace
    86       the kernel with a more up to date version. There are two ways
    87       you can go about this. First, see if your Linux vendor provides a &min-kernel;
    88       or later kernel package. If so, you may wish to install it. If your
    89       vendor doesn't offer an acceptable kernel package, or you would prefer not to
    90       install it, you can compile a kernel yourself. Instructions for
    91       compiling the kernel and configuring the boot loader (assuming the host
    92       uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
    93 
    9473    </listitem>
    9574
  • chapter05/glibc.xml

    r1ea79fd rcb518e0  
    9292      --host=$LFS_TGT                    \
    9393      --build=$(../scripts/config.guess) \
    94       --enable-kernel=&min-kernel;                \
     94      --enable-kernel=&linux-major-version;.&linux-minor-version;               \
    9595      --with-headers=$LFS/usr/include    \
    9696      libc_cv_slibdir=/usr/lib</userinput></screen>
     
    109109
    110110      <varlistentry>
    111         <term><parameter>--enable-kernel=&min-kernel;</parameter></term>
    112         <listitem>
    113           <para>This tells Glibc to compile the library with support
    114           for &min-kernel; and later Linux kernels.  Workarounds for older
    115           kernels are not enabled.</para>
     111        <term><parameter>--enable-kernel=&linux-major-version;.&linux-minor-version;</parameter></term>
     112        <listitem>
     113          <para>This option tells the build system that this glibc may
     114          be used with kernels as old as
     115          &linux-major-version;.&linux-minor-version;. This means generating
     116          workarounds in case a system call introduced in a later version
     117          cannot be used.</para>
    116118        </listitem>
    117119      </varlistentry>
  • chapter08/glibc.xml

    r1ea79fd rcb518e0  
    7373<screen><userinput remap="configure">../configure --prefix=/usr                            \
    7474             --disable-werror                         \
    75              --enable-kernel=&min-kernel;                      \
     75             --enable-kernel=&linux-major-version;.&linux-minor-version;                     \
    7676             --enable-stack-protector=strong          \
    7777             --with-headers=/usr/include              \
     
    9090
    9191      <varlistentry>
    92         <term><parameter>--enable-kernel=&min-kernel;</parameter></term>
     92        <term><parameter>--enable-kernel=&linux-major-version;.&linux-minor-version;</parameter></term>
    9393        <listitem>
    9494          <para>This option tells the build system that this glibc may
    95           be used with kernels as old as &min-kernel;. This means generating
     95          be used with kernels as old as
     96          &linux-major-version;.&linux-minor-version;. This means generating
    9697          workarounds in case a system call introduced in a later version
    9798          cannot be used.</para>
Note: See TracChangeset for help on using the changeset viewer.