- Timestamp:
- Jan 26, 2009, 3:14:41 PM (16 years ago)
- Branches:
- master
- Children:
- 246191f
- Parents:
- 22923d0
- Location:
- BOOK
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/beyond-clfs/common/dropbear.xml
r22923d0 r6a3c6dc 36 36 <para os="a">Configure dropbear:</para> 37 37 38 <screen os="b"><userinput>CC="${CC} ${BUILD} " ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>38 <screen os="b"><userinput>CC="${CC} ${BUILD} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 39 39 40 40 <para os="c">Now we will utilize /dev/urandom instead of /dev/random. To allow -
BOOK/beyond-clfs/common/iptables.xml
r22923d0 r6a3c6dc 28 28 <para os="p1">Fixes Compile Issue with DO_MULTI=1:</para> 29 29 30 <screen os="p2"><userinput>patch -Np1 -i ../&iptables- domulti-patch;</userinput></screen>30 <screen os="p2"><userinput>patch -Np1 -i ../&iptables-fixes-patch;</userinput></screen> 31 31 32 <para os="a">Co mpile the package:</para>32 <para os="a">Configure IPTables:</para> 33 33 34 <screen os="b"><userinput> make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr\35 KERNEL_DIR=${CLFS}/lib/modules/&linux-version;/build LIBDIR=/lib BINDIR=/sbin</userinput></screen>34 <screen os="b"><userinput>CC="${CC} ${BUILD} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET} \ 35 --libexecdir=/lib/iptables --without-kernel -enable-libipq --enable-shared</userinput></screen> 36 36 37 <para os="c"> Installthe package:</para>37 <para os="c">Compile the package:</para> 38 38 39 <screen os="d"><userinput>make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \ 40 KERNEL_DIR=${CLFS}/lib/modules/&linux-version;/build LIBDIR=/lib BINDIR=/sbin \ 41 DESTDIR=${CLFS} install</userinput></screen> 39 <screen os="d"><userinput>make</userinput></screen> 40 41 <para os="e">Install the package:</para> 42 43 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 42 44 43 45 </sect2> -
BOOK/beyond-clfs/common/patches.xml
r22923d0 r6a3c6dc 20 20 21 21 <varlistentry> 22 <term> Dropbear Autotool Patch - <token>&dropbear-autotool-patch-size;</token>:</term> <listitem>22 <term>IPTables Fixes Patch - <token>&iptables-fixes-patch-size;</token>:</term> <listitem> 23 23 <para>Download: <ulink 24 url="&patches-root;&dropbear-autotool-patch;"/></para> 25 <para>MD5 sum: <literal>&dropbear-autotool-patch-md5;</literal></para> 26 </listitem> 27 </varlistentry> 28 29 <varlistentry> 30 <term>IPTables DO_MULTI Patch - <token>&iptables-domulti-patch-size;</token>:</term> <listitem> 31 <para>Download: <ulink 32 url="&patches-root;&iptables-domulti-patch;"/></para> 33 <para>MD5 sum: <literal>&iptables-domulti-patch-md5;</literal></para> 24 url="&patches-root;&iptables-fixes-patch;"/></para> 25 <para>MD5 sum: <literal>&iptables-fixes-patch-md5;</literal></para> 34 26 </listitem> 35 27 </varlistentry> -
BOOK/bootable/arm/kernel.xml
r22923d0 r6a3c6dc 46 46 xpointer="xpointer(//*[@os='f'])"/> 47 47 48 <screen os="g"><userinput>make ARCH= armCROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>48 <screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen> 49 49 50 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 60 60 xpointer="xpointer(//*[@os='j'])"/> 61 61 62 <screen os="k"><userinput>make ARCH= armCROSS_COMPILE=${CLFS_TARGET}- zImage modules</userinput></screen>62 <screen os="k"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- zImage modules</userinput></screen> 63 63 64 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 82 82 xpointer="xpointer(//*[@os='p'])"/> 83 83 84 <screen os="q"><userinput>make ARCH= armCROSS_COMPILE=${CLFS_TARGET}- \84 <screen os="q"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- \ 85 85 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 86 86 … … 93 93 xpointer="xpointer(//*[@os='s'])"/> 94 94 95 <screen os="t"><userinput>cp arch/ arm/boot/zImage ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>95 <screen os="t"><userinput>cp arch/${CLFS_ARCH}/boot/zImage ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen> 96 96 97 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/bootable/mips/kernel.xml
r22923d0 r6a3c6dc 38 38 xpointer="xpointer(//*[@os='d'])"/> 39 39 40 <para os="d1">The following patch merges changes from Linux-MIPS into the kernel:</para>41 42 <screen os="d2"><userinput>patch -Np1 -i ../linux-&linux-version;-mips-1.patch</userinput></screen>43 44 <para os="d3">The following patch merges updates for Linux-MIPS kernel:</para>45 46 <screen os="d4"><userinput>patch -Np1 -i ../linux-&linux-version;-mips_fixes-1.patch</userinput></screen>47 48 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 41 href="../x86/kernel.xml" … … 54 46 xpointer="xpointer(//*[@os='f'])"/> 55 47 56 <screen os="g"><userinput>make ARCH= mipsCROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>48 <screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen> 57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 68 60 xpointer="xpointer(//*[@os='j'])"/> 69 61 70 <screen os="k"><userinput>make ARCH= mips CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>62 <screen os="k"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- </userinput></screen> 71 63 72 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 90 82 xpointer="xpointer(//*[@os='p'])"/> 91 83 92 <screen os="q"><userinput>make ARCH= mipsCROSS_COMPILE=${CLFS_TARGET}- \84 <screen os="q"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- \ 93 85 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 94 86 … … 101 93 xpointer="xpointer(//*[@os='s'])"/> 102 94 103 <screen os="t"><userinput>cp arch/ mips/boot/vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>95 <screen os="t"><userinput>cp arch/${CLFS_ARCH}/boot/vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen> 104 96 105 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/bootable/wrt/kernel.xml
r22923d0 r6a3c6dc 38 38 xpointer="xpointer(//*[@os='d'])"/> 39 39 40 <para os="d1">The following patch merges changes from Linux-MIPS into the kernel:</para>41 42 <screen os="d2"><userinput>patch -Np1 -i ../linux-&linux-version;-mips-1.patch</userinput></screen>43 44 <para os="d3">The following patch merges updates for Linux-MIPS kernel:</para>45 46 <screen os="d4"><userinput>patch -Np1 -i ../linux-&linux-version;-mips_fixes-1.patch</userinput></screen>47 48 <para os="d5">The following patch adds support for squashed filesystens to the kernel:</para>49 50 <screen os="d6"><userinput>patch -Np1 -i ../linux-&linux-version;-squashfs-1.patch</userinput></screen>51 52 <para os="d7">The following patch backports the d80211 wireless stack to the kernel:</para>53 54 <screen os="d8"><userinput>zcat ../linux-2.6.19-d80211-import-1.patch.gz | patch -Np1</userinput></screen>55 56 <para os="d9">The following patch updates the bcm43xx-d80211 wireless module:</para>57 58 <screen os="da"><userinput>zcat ../linux-2.6.19-bcm43xx-update-1.patch.gz | patch -Np1</userinput></screen>59 60 <para os="db">The following patch adds support for wireless routers to the kernel:</para>61 62 <screen os="dc"><userinput>patch -Np1 -i ../linux-&linux-version;-bcm947xx-2.patch</userinput></screen>63 64 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 41 href="../x86/kernel.xml" … … 70 46 xpointer="xpointer(//*[@os='f'])"/> 71 47 72 <screen os="g"><userinput>make ARCH= mipsCROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>48 <screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen> 73 49 74 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 84 60 xpointer="xpointer(//*[@os='j'])"/> 85 61 86 <screen os="k"><userinput>make ARCH= mipsCROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>62 <screen os="k"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen> 87 63 88 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 106 82 xpointer="xpointer(//*[@os='p'])"/> 107 83 108 <screen os="q"><userinput>make ARCH= mipsCROSS_COMPILE=${CLFS_TARGET}- \84 <screen os="q"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- \ 109 85 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 110 86 … … 117 93 xpointer="xpointer(//*[@os='s'])"/> 118 94 119 <screen os="t"><userinput>cp arch/ mips/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>95 <screen os="t"><userinput>cp arch/${CLFS_ARCH}/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen> 120 96 121 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/bootable/x86/kernel.xml
r22923d0 r6a3c6dc 50 50 should be without modules.</para></note> 51 51 52 <screen os="g"><userinput>make ARCH= i386CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>52 <screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen> 53 53 54 54 <para os="h">Alternatively, <command>make oldconfig</command> may be more … … 65 65 <para os="j">Compile the kernel image and modules:</para> 66 66 67 <screen os="k"><userinput>make ARCH= i386CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>67 <screen os="k"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen> 68 68 69 69 <para os="l">If using kernel modules, an … … 93 93 them:</para> 94 94 95 <screen os="q"><userinput>make ARCH= i386CROSS_COMPILE=${CLFS_TARGET}- \95 <screen os="q"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- \ 96 96 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 97 97 … … 133 133 once your base CLFS system is complete.</para> 134 134 135 <para>Also, the headers in the system's <filename136 class="directory">include</filename> directory should137 <emphasis>always</emphasis> be the ones against which Glibc was138 compiled (from the Linux-Headers package) and should139 <emphasis>never</emphasis> be replaced by the kernel headers.</para>140 135 </warning> 141 136 -
BOOK/patches.ent
r22923d0 r6a3c6dc 45 45 <!-- Beyond patches --> 46 46 47 <!ENTITY dropbear-autotool-patch "dropbear-&dropbear-version;-autotool-1.patch"> 48 <!ENTITY dropbear-autotool-patch-md5 "eb5c1803aec03ea0d62cf57b4ef9bcb5"> 49 <!ENTITY dropbear-autotool-patch-size "56 KB"> 50 51 <!ENTITY iptables-domulti-patch "iptables-&iptables-version;-do_multi-1.patch"> 52 <!ENTITY iptables-domulti-patch-md5 "badcc9ea0dc1097d3a0a4f299eaa9219"> 53 <!ENTITY iptables-domulti-patch-size "4 KB"> 47 <!ENTITY iptables-fixes-patch "iptables-&iptables-version;-fixes-1.patch"> 48 <!ENTITY iptables-fixes-patch-md5 "5a8bc894706019ea4f42e506633a49bf"> 49 <!ENTITY iptables-fixes-patch-size "8 KB"> 54 50 55 51 <!-- MIPS Patches -->
Note:
See TracChangeset
for help on using the changeset viewer.