Changeset 94e2400 in clfs-embedded
- Timestamp:
- Oct 15, 2013, 1:35:34 PM (11 years ago)
- Branches:
- master
- Children:
- 877c72d
- Parents:
- 5f18bea
- Location:
- BOOK
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/beyond-lib/common/zlib.xml
r5f18bea r94e2400 53 53 <para os="e">Install the package:</para> 54 54 55 <screen os="f"><userinput>make prefix=${CLFS}/cross-tools/ sysrootinstall</userinput></screen>55 <screen os="f"><userinput>make prefix=${CLFS}/cross-tools/${CLFS_TARGET} install</userinput></screen> 56 56 57 57 </sect2> -
BOOK/cleanup/copylibs.xml
r5f18bea r94e2400 15 15 copied to the target:</para> 16 16 17 <screen><userinput>cp -v ${CLFS}/cross-tools/ sysroot/lib/*.so ${CLFS}/targetfs/lib/</userinput></screen>17 <screen><userinput>cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/*.so ${CLFS}/targetfs/lib/</userinput></screen> 18 18 19 19 <para>Optionally, strip the libraries to reduce their size:</para> -
BOOK/cross-tools/arm/gcc-final.xml
r5f18bea r94e2400 62 62 --target=${CLFS_TARGET} \ 63 63 --host=${CLFS_HOST} \ 64 --with-sysroot=${CLFS}/cross-tools/ sysroot\64 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 65 65 --disable-nls \ 66 66 --enable-languages=c \ -
BOOK/cross-tools/arm/gcc-static.xml
r5f18bea r94e2400 61 61 --host=${CLFS_HOST} \ 62 62 --target=${CLFS_TARGET} \ 63 --with-sysroot=${CLFS}/cross-tools/ sysroot\63 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 64 64 --disable-nls \ 65 65 --disable-shared \ -
BOOK/cross-tools/common/binutils.xml
r5f18bea r94e2400 47 47 --prefix=${CLFS}/cross-tools \ 48 48 --target=${CLFS_TARGET} \ 49 --with-sysroot=${CLFS}/cross-tools/ sysroot\49 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 50 50 --disable-nls \ 51 51 --disable-multilib</userinput></screen> … … 73 73 74 74 <varlistentry os="f4"> 75 <term><parameter>--with-sysroot=${CLFS}/cross-tools/ sysroot</parameter></term>75 <term><parameter>--with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET}</parameter></term> 76 76 <listitem> 77 77 <para>This tells configure that ${CLFS} is going to be the root -
BOOK/cross-tools/common/gcc-final.xml
r5f18bea r94e2400 64 64 --target=${CLFS_TARGET} \ 65 65 --host=${CLFS_HOST} \ 66 --with-sysroot=${CLFS}/cross-tools/ sysroot\66 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 67 67 --disable-nls \ 68 68 --enable-languages=c \ -
BOOK/cross-tools/common/gcc-static.xml
r5f18bea r94e2400 60 60 --host=${CLFS_HOST} \ 61 61 --target=${CLFS_TARGET} \ 62 --with-sysroot=${CLFS}/cross-tools/ sysroot\62 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 63 63 --disable-nls \ 64 64 --disable-shared \ … … 118 118 119 119 <varlistentry os="af5"> 120 <term><parameter>--with-sysroot=${CLFS}/cross-tools/ sysroot</parameter></term>121 <listitem> 122 <para>This tells configure that ${CLFS}/cross-tools/ sysrootis going120 <term><parameter>--with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET}</parameter></term> 121 <listitem> 122 <para>This tells configure that ${CLFS}/cross-tools/${CLFS_TARGET} is going 123 123 to be the temporary root of our system. It will now use the specified 124 124 sysroot as a prefix of the default search paths.</para> -
BOOK/cross-tools/common/linux-headers.xml
r5f18bea r94e2400 32 32 <screen os="c"><userinput>make mrproper 33 33 make ARCH=${CLFS_ARCH} headers_check 34 make ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=${CLFS}/cross-tools/ sysrootheaders_install</userinput></screen>34 make ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=${CLFS}/cross-tools/${CLFS_TARGET} headers_install</userinput></screen> 35 35 36 36 </sect2> … … 43 43 44 44 <seglistitem> 45 <seg>${CLFS}/cross-tools/ sysroot/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</seg>45 <seg>${CLFS}/cross-tools/${CLFS_TARGET}/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</seg> 46 46 </seglistitem> 47 47 </segmentedlist> … … 53 53 54 54 <varlistentry id="linux-headers"> 55 <term><filename class="headerfile">${CLFS}/cross-tools/ sysroot/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</filename></term>55 <term><filename class="headerfile">${CLFS}/cross-tools/${CLFS_TARGET}/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</filename></term> 56 56 <listitem> 57 57 <para>The Linux API headers</para> 58 58 <indexterm zone="ch-cross-tools-linux-headers linux-headers"> 59 59 <primary 60 sortas="e-${CLFS}/cross-tools/ sysroot/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>60 sortas="e-${CLFS}/cross-tools/${CLFS_TARGET}/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary> 61 61 </indexterm> 62 62 </listitem> -
BOOK/cross-tools/mips/gcc-final.xml
r5f18bea r94e2400 62 62 --target=${CLFS_TARGET} \ 63 63 --host=${CLFS_HOST} \ 64 --with-sysroot=${CLFS}/cross-tools/ sysroot\64 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 65 65 --disable-nls \ 66 66 --enable-languages=c \ -
BOOK/cross-tools/mips/gcc-static.xml
r5f18bea r94e2400 61 61 --host=${CLFS_HOST} \ 62 62 --target=${CLFS_TARGET} \ 63 --with-sysroot=${CLFS}/cross-tools/ sysroot\63 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 64 64 --disable-nls \ 65 65 --disable-shared \ -
BOOK/cross-tools/x86/gcc-final.xml
r5f18bea r94e2400 62 62 --target=${CLFS_TARGET} \ 63 63 --host=${CLFS_HOST} \ 64 --with-sysroot=${CLFS}/cross-tools/ sysroot\64 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 65 65 --disable-nls \ 66 66 --enable-languages=c \ -
BOOK/cross-tools/x86/gcc-static.xml
r5f18bea r94e2400 61 61 --host=${CLFS_HOST} \ 62 62 --target=${CLFS_TARGET} \ 63 --with-sysroot=${CLFS}/cross-tools/ sysroot\63 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \ 64 64 --disable-nls \ 65 65 --disable-shared \ -
BOOK/materials/common/creatingbuilddir.xml
r5f18bea r94e2400 29 29 to itself such that everything installs to the sysroot:</para> 30 30 31 <screen><userinput>mkdir -p ${CLFS}/cross-tools/ sysroot32 ln -sfv . ${CLFS}/cross-tools/ sysroot/usr</userinput></screen>31 <screen><userinput>mkdir -p ${CLFS}/cross-tools/${CLFS_TARGET} 32 ln -sfv . ${CLFS}/cross-tools/${CLFS_TARGET}/usr</userinput></screen> 33 33 34 34 <para>Downloaded packages and patches will need to be stored somewhere
Note:
See TracChangeset
for help on using the changeset viewer.