source: BOOK/boot/sparc/silo-build.xml@ 6d6e80e

systemd
Last change on this file since 6d6e80e was 080d530, checked in by Chris Staub <chris@…>, 10 years ago

Don't use sed -i in temp system

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[3f8be484]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" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-silo-build" role="wrap">
9 <?dbhtml filename="silo-build.html"?>
10
11 <title>Silo-&silo-version;</title>
12
13 <indexterm zone="ch-boot-silo-build">
14 <primary sortas="a-Silo">Silo</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[93adf44a]19 href="../../final-system/sparc/silo.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Silo</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]26 href="../../final-system/sparc/silo.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
[dabbced]29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]30 href="../../final-system/sparc/silo.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
[72ba28f]33<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
34
[080d530]35<screen os="ad"><userinput>cp -v common/Makefile{,.orig}
36sed -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile.orig &gt; common/Makefile</userinput></screen>
[72ba28f]37
38<para os="af">Compile the bin2h and util binaries for the host.</para>
39
40<screen os="aa"><userinput>make -C common programs CC=cc
41make -C second util CC=cc</userinput></screen>
42
43 <variablelist>
44 <varlistentry>
45 <term><parameter>CC=cc</parameter></term>
46 <listitem>
[24b004c]47 <para>Overwrites the default value of <command>gcc -m32</command> which will fail
[72ba28f]48to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52
[dabbced]53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]54 href="../../final-system/sparc/silo.xml"
55 xpointer="xpointer(//*[@os='c'])"/>
56
[72ba28f]57<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
[3f8be484]58
[dabbced]59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]60 href="../../final-system/sparc/silo.xml"
61 xpointer="xpointer(//*[@os='d'])"/>
62
[3f76cac]63<screen os="ab"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[7134f0d]64
[3f8be484]65 </sect2>
66
67 <sect2 role="content">
68 <title/>
69
70 <para>Details on this package are located in <xref
71 linkend="contents-silo" role="."/></para>
72
73 </sect2>
74
75</sect1>
Note: See TracBrowser for help on using the repository browser.