[8672967] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[8672967] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[0666dec] | 8 | <sect1 id="ch-final-preps-variables">
|
---|
[8672967] | 9 | <?dbhtml filename="variables.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Build Variables</title>
|
---|
| 12 |
|
---|
| 13 | <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
|
---|
| 14 |
|
---|
[dabbced] | 15 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 16 | href="../x86/variables.xml"
|
---|
| 17 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 18 |
|
---|
[dabbced] | 19 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 20 | href="../x86/variables.xml"
|
---|
| 21 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 22 |
|
---|
[dabbced] | 23 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 24 | href="../x86/variables.xml"
|
---|
| 25 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 26 |
|
---|
[dabbced] | 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 28 | href="../mips/variables.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 30 |
|
---|
[48dab198] | 31 | <screen os="ab"><userinput>export CLFS_TARGET="<replaceable>mips64el-unknown-linux-gnu</replaceable>"</userinput></screen>
|
---|
[8672967] | 32 |
|
---|
[dabbced] | 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 34 | href="../mips/variables.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
| 36 |
|
---|
[48dab198] | 37 | <screen os="ad"><userinput>export CLFS_TARGET="<replaceable>mips64-unknown-linux-gnu</replaceable>"</userinput></screen>
|
---|
[8672967] | 38 |
|
---|
[dabbced] | 39 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 40 | href="../x86_64/variables.xml"
|
---|
[5585711] | 41 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
[8672967] | 42 |
|
---|
[48dab198] | 43 | <screen os="f"><userinput>export CLFS_TARGET32="$(echo ${CLFS_TARGET}| sed -e 's/64//g')"</userinput></screen>
|
---|
[8672967] | 44 |
|
---|
[dabbced] | 45 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5585711] | 46 | href="../x86_64/variables.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 48 |
|
---|
| 49 | <screen os="h"><userinput>export BUILD32="-mabi=32"
|
---|
| 50 | export BUILDN32="-mabi=n32"
|
---|
| 51 | export BUILD64="-mabi=64"</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
|
---|
[8672967] | 54 |
|
---|
[dabbced] | 55 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8672967] | 56 | href="../x86_64/variables.xml"
|
---|
[5585711] | 57 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 58 |
|
---|
| 59 | <screen os="j"><userinput>cat >> ~/.bashrc << EOF
|
---|
| 60 | export CLFS_HOST="${CLFS_HOST}"
|
---|
| 61 | export CLFS_TARGET="${CLFS_TARGET}"
|
---|
| 62 | export CLFS_TARGET32="${CLFS_TARGET32}"
|
---|
| 63 | export BUILD32="${BUILD32}"
|
---|
| 64 | export BUILDN32="${BUILDN32}"
|
---|
| 65 | export BUILD64="${BUILD64}"
|
---|
| 66 | EOF</userinput></screen>
|
---|
[8672967] | 67 |
|
---|
| 68 | </sect1>
|
---|