source: BOOK/boot/sparc/silo-build.xml@ 666c128

sysvinit
Last change on this file since 666c128 was 787b933, 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
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-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
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/sparc/silo.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Silo</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../../final-system/sparc/silo.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../../final-system/sparc/silo.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
33<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
34
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>
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>
47 <para>Overwrites the default value of <command>gcc -m32</command> which will fail
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
53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54 href="../../final-system/sparc/silo.xml"
55 xpointer="xpointer(//*[@os='c'])"/>
56
57<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
58
59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
60 href="../../final-system/sparc/silo.xml"
61 xpointer="xpointer(//*[@os='d'])"/>
62
63<screen os="ab"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
64
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.