| 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-variables"> | 
|---|
| 9 | <?dbhtml filename="variables.html"?> | 
|---|
| 10 |  | 
|---|
| 11 | <title>Build Variables</title> | 
|---|
| 12 |  | 
|---|
| 13 | <bridgehead renderas="sect4">Setting Host and Target</bridgehead> | 
|---|
| 14 |  | 
|---|
| 15 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 16 | href="../x86/variables.xml" | 
|---|
| 17 | xpointer="xpointer(//*[@os='a'])"/> | 
|---|
| 18 |  | 
|---|
| 19 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 20 | href="../x86/variables.xml" | 
|---|
| 21 | xpointer="xpointer(//*[@os='b'])"/> | 
|---|
| 22 |  | 
|---|
| 23 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 24 | href="../x86/variables.xml" | 
|---|
| 25 | xpointer="xpointer(//*[@os='c'])"/> | 
|---|
| 26 |  | 
|---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 28 | href="../mips/variables.xml" | 
|---|
| 29 | xpointer="xpointer(//*[@os='aa'])"/> | 
|---|
| 30 |  | 
|---|
| 31 | <screen os="ab"><userinput>export CLFS_TARGET="mips64el-unknown-linux-gnu"</userinput></screen> | 
|---|
| 32 |  | 
|---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 34 | href="../mips/variables.xml" | 
|---|
| 35 | xpointer="xpointer(//*[@os='ac'])"/> | 
|---|
| 36 |  | 
|---|
| 37 | <screen os="ad"><userinput>export CLFS_TARGET="mips64-unknown-linux-gnu"</userinput></screen> | 
|---|
| 38 |  | 
|---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 40 | href="../x86_64/variables.xml" | 
|---|
| 41 | xpointer="xpointer(//*[@os='m1'])"/> | 
|---|
| 42 |  | 
|---|
| 43 | <screen os="m2"><userinput>export CLFS_TARGET32="$(echo ${CLFS_TARGET}| sed -e 's/64//g')"</userinput></screen> | 
|---|
| 44 |  | 
|---|
| 45 | <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> | 
|---|
| 46 |  | 
|---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 48 | href="../x86/variables.xml" | 
|---|
| 49 | xpointer="xpointer(//*[@os='e'])"/> | 
|---|
| 50 |  | 
|---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 52 | href="../x86_64/variables.xml" | 
|---|
| 53 | xpointer="xpointer(//*[@os='f'])"/> | 
|---|
| 54 |  | 
|---|
| 55 | </sect1> | 
|---|