source: boot/ppc/yaboot-build.xml@ 68fe555

Last change on this file since 68fe555 was 5e5f39b, checked in by Chris Staub <chris@…>, 18 years ago

Added quotes to PREFIX variable to make the command clearer, and minor text update on yaboot build

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[6b8c171]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-yaboot-build" role="wrap">
9 <?dbhtml filename="yaboot-build.html"?>
10
11 <title>Yaboot-&yaboot-version;</title>
12
13 <indexterm zone="ch-boot-yaboot-build">
14 <primary sortas="a-Yaboot">Yaboot</primary>
[01a7a8f]15 <secondary>boot</secondary>
[6b8c171]16 </indexterm>
17
[01a7a8f]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/ppc/yaboot.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[6b8c171]21
22 <sect2 role="installation">
23 <title>Installation of Yaboot</title>
24
[e3eb047b]25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/ppc/yaboot.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/ppc/yaboot.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/ppc/yaboot.xml"
35 xpointer="xpointer(//*[@os='c'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/ppc/yaboot.xml"
39 xpointer="xpointer(//*[@os='d'])"/>
40
[370b16d]41 <para os="p1">The following patch allows <command>ofpath</command> to use
42 <literal>PATH_PREFIX</literal> like the other
43 <filename class="directory">ybin</filename> scripts:</para>
44
45<screen os="p2"><userinput>patch -Np1 -i ../&yaboot-ofpath_path-patch;</userinput></screen>
46
[e3eb047b]47 <para>The Makefile is already set to do kernel-style cross-compiling,
48 but it will try to use <command>strip</command> to strip the second-stage
[8ce1e61]49 loader. It also tries to change user and group ownership for the installed
50 files to <systemitem class="username">root</systemitem>, which the
[5e5f39b]51 <systemitem class="username">clfs</systemitem> user cannot do. The following
[8ce1e61]52 command fixes both issues:</para>
[e3eb047b]53
54<screen><userinput>cp Makefile,{.orig}
[9cb6b64]55sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
[e3eb047b]56 -e 's/-o root -g root//' \
57 Makefile.orig > Makefile</userinput></screen>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../../final-system/ppc/yaboot.xml"
61 xpointer="xpointer(//*[@os='g'])"/>
62
[9cb6b64]63<screen><userinput>make CROSS=${CLFS_TARGET}-</userinput></screen>
[e3eb047b]64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../../final-system/ppc/yaboot.xml"
67 xpointer="xpointer(//*[@os='i'])"/>
68
[5e5f39b]69<screen><userinput>make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX="" install</userinput></screen>
[6b8c171]70
71 </sect2>
72
73 <sect2 role="content">
74 <title/>
75
76 <para>Details on this package are located in <xref linkend="contents-yaboot" role="."/></para>
77
78 </sect2>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.