source: clfs-embedded/BOOK/cross-tools/common/sysroot.xml@ a954b24

Last change on this file since a954b24 was 26e2b14, checked in by Andrew Bradford <andrew@…>, 11 years ago

Move sysroot dir creation to cross-tools

To fix usage of ${CLFS_TARGET} before it was exported.

  • Property mode set to 100644
File size: 737 bytes
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-cross-tools-sysroot">
9 <?dbhtml filename="sysroot.html"?>
10
11 <title>Create the Sysroot Directory</title>
12
13 <para>Create a sysroot directory which will be used when building the cross
14 compiler and link its <filename class="directory">usr</filename> directory
15 to itself such that everything installs to the sysroot:</para>
16
17<screen><userinput>mkdir -p ${CLFS}/cross-tools/${CLFS_TARGET}
18ln -sfv . ${CLFS}/cross-tools/${CLFS_TARGET}/usr</userinput></screen>
19
20</sect1>
Note: See TracBrowser for help on using the repository browser.