Changeset 586feb7 in clfs-sysroot for BOOK/cross-tools/arm


Ignore:
Timestamp:
Jul 2, 2006, 12:45:15 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
940e6b3
Parents:
89c10a9
Message:

Updated the bootscripts package and make LFS to CLFS updates.

Location:
BOOK/cross-tools/arm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/glibc-headers.xml

    r89c10a9 r586feb7  
    6868
    6969<screen os="i"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/usr \
    70    --host=${LFS_TARGET} --build=${LFS_HOST} \
    71    --with-headers=${LFS}/usr/include --cache-file=config.cache</userinput></screen>
     70   --host=${CLFS_TARGET} --build=${CLFS_HOST} \
     71   --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen>
    7272
    7373    <variablelist os="dj">
     
    8282       
    8383       <varlistentry os="dj2">
    84            <term><parameter>--with-headers=${LFS}/usr/include</parameter></term>
     84           <term><parameter>--with-headers=${CLFS}/usr/include</parameter></term>
    8585           <listitem>
    8686              <para>This tells Glibc to compile itself against the headers
    87               recently installed to the <filename class="directory">${LFS}/usr/include</filename>
     87              recently installed to the <filename class="directory">${CLFS}/usr/include</filename>
    8888              directory, so that it knows exactly what features the kernel has
    8989              and can optimize itself accordingly.</para>
     
    101101
    102102   <para os="n">First we will copy a common file over to <filename
    103    class="directory">${LFS}/usr/include</filename>:</para>
     103   class="directory">${CLFS}/usr/include</filename>:</para>
    104104
    105 <screen os="o"><userinput>install -dv ${LFS}/usr/include/bits
    106 cp -v bits/stdio_lim.h ${LFS}/usr/include/bits</userinput></screen>
     105<screen os="o"><userinput>install -dv ${CLFS}/usr/include/bits
     106cp -v bits/stdio_lim.h ${CLFS}/usr/include/bits</userinput></screen>
    107107
    108108   <para os="p">Now we will create a blank stub file:</para>
    109109
    110 <screen os="q"><userinput>touch ${LFS}/usr/include/gnu/stubs.h</userinput></screen>
     110<screen os="q"><userinput>touch ${CLFS}/usr/include/gnu/stubs.h</userinput></screen>
    111111
    112112   <para os="r">For NPTL we use the following command:</para>
    113113   
    114114<screen os="s"><userinput>cp -v ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h \
    115     ${LFS}/usr/include/bits</userinput></screen>
     115    ${CLFS}/usr/include/bits</userinput></screen>
    116116
    117117  </sect2>
  • BOOK/cross-tools/arm/linux-headers.xml

    r89c10a9 r586feb7  
    3737    <para os="b">Install the header files that are common to all architectures:</para>
    3838
    39 <screen os="c"><userinput>install -dv ${LFS}/usr/include/{asm,asm-generic,linux,net,mtd,scsi,sound}
    40 cp -av include/asm-generic/* ${LFS}/usr/include/asm-generic
    41 cp -av include/linux/* ${LFS}/usr/include/linux
    42 cp -av include/mtd/* ${LFS}/usr/include/mtd
    43 cp -av include/net/* ${LFS}/usr/include/net
    44 cp -av include/scsi/* ${LFS}/usr/include/scsi
    45 cp -av include/sound/* ${LFS}/usr/include/sound</userinput></screen>
     39<screen os="c"><userinput>install -dv ${CLFS}/usr/include/{asm,asm-generic,linux,net,mtd,scsi,sound}
     40cp -av include/asm-generic/* ${CLFS}/usr/include/asm-generic
     41cp -av include/linux/* ${CLFS}/usr/include/linux
     42cp -av include/mtd/* ${CLFS}/usr/include/mtd
     43cp -av include/net/* ${CLFS}/usr/include/net
     44cp -av include/scsi/* ${CLFS}/usr/include/scsi
     45cp -av include/sound/* ${CLFS}/usr/include/sound</userinput></screen>
    4646
    4747    <para os="d">Install the header files that are specific to this architecture:</para>
    4848
    49 <screen><userinput>cp -av include/asm-arm/* ${LFS}/usr/include/asm</userinput></screen>
     49<screen><userinput>cp -av include/asm-arm/* ${CLFS}/usr/include/asm</userinput></screen>
    5050
    5151    <para os="e">Make sure the users can read the headers:</para>
    5252
    53 <screen os="f"><userinput>find ${LFS}/usr/include/{asm,asm-generic,linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
    54 find ${LFS}/usr/include/{asm,asm-generic,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
     53<screen os="f"><userinput>find ${CLFS}/usr/include/{asm,asm-generic,linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
     54find ${CLFS}/usr/include/{asm,asm-generic,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
    5555
    5656  </sect2>
  • BOOK/cross-tools/arm/variables.xml

    r89c10a9 r586feb7  
    3535  case you have to exit and restart building later:</para>
    3636
    37 <screen os="f"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc
    38 echo export LFS_TARGET=\""${LFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     37<screen os="f"><userinput>echo export LFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     38echo export LFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    3939
    4040</sect1>
Note: See TracChangeset for help on using the changeset viewer.