- Timestamp:
- Feb 4, 2007, 10:46:05 AM (18 years ago)
- Branches:
- master
- Children:
- 1603a9d
- Parents:
- 961b7c5
- Location:
- BOOK
- Files:
-
- 2 added
- 8 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/mips/uclibc.xml
r961b7c5 rbe76242 74 74 need at add the following lines to your configuration:</para> 75 75 76 <screen os="m2"><userinput>echo "ARCH_ANY_ENDIAN=y" >>.config77 echo "ARCH_BIG_ENDIAN=y" >>.config78 echo "ARCH_WANTS_BIG_ENDIAN=y" >>.config</userinput></screen>76 <screen os="m2"><userinput>echo "ARCH_ANY_ENDIAN=y" >> .config 77 echo "ARCH_BIG_ENDIAN=y" >> .config 78 echo "ARCH_WANTS_BIG_ENDIAN=y" >> .config</userinput></screen> 79 79 80 80 <para os="m3">If your MIPS system is Little Endian, you will 81 81 need at add the following lines to your configuration:</para> 82 82 83 <screen os="m4"><userinput>echo "ARCH_ANY_ENDIAN=y" >>.config84 echo "ARCH_LITTLE_ENDIAN=y" >>.config85 echo "ARCH_WANTS_LITTLE_ENDIAN=y" >>.config</userinput></screen>83 <screen os="m4"><userinput>echo "ARCH_ANY_ENDIAN=y" >> .config 84 echo "ARCH_LITTLE_ENDIAN=y" >> .config 85 echo "ARCH_WANTS_LITTLE_ENDIAN=y" >> .config</userinput></screen> 86 86 87 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86/uclibc.xml
r961b7c5 rbe76242 34 34 35 35 <screen os="d"><userinput>cp Makefile Makefile.orig 36 sed -e 's/$(LN) -fs/cp/g' Makefile.orig >Makefile36 sed -e 's/$(LN) -fs/cp/g' Makefile.orig > Makefile 37 37 for file in `find libc/sysdeps/linux -name Makefile`; do 38 38 cp $file $file.orig … … 72 72 sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config 73 73 done 74 echo "UCLIBC_HAS_FULL_RPC=y" >>.config75 echo "UCLIBC_HAS_REENTRANT_RPC=y" >>.config</userinput></screen>74 echo "UCLIBC_HAS_FULL_RPC=y" >> .config 75 echo "UCLIBC_HAS_REENTRANT_RPC=y" >> .config</userinput></screen> 76 76 77 77 <para os="l">We have made some changes to our config, let's make sure -
BOOK/final-system/mips-chapter.xml
r961b7c5 rbe76242 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/busybox.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/busybox.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/e2fsprogs.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/> -
BOOK/final-system/wrt-chapter.xml
r961b7c5 rbe76242 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/busybox.xml"/>17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/busybox.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/> -
BOOK/final-system/x86-chapter.xml
r961b7c5 rbe76242 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/busybox.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/busybox.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/e2fsprogs.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/> -
BOOK/final-system/x86/busybox.xml
r961b7c5 rbe76242 30 30 <title>Installation of Busybox</title> 31 31 32 <para os="p0">Before you build BusyBox, you may want to check the following URL for 33 patches that the upstream maintainer of BusyBox has released to fix issues. 34 <ulink url="http://busybox.net/downloads/fixes-&busybox-version;"/></para> 35 32 36 <para os="p1">The following patch fixes some issues that are related to the 33 37 headers we are using:</para> … … 46 50 47 51 <para os="d">We will need to edit the configuration file, to make sure everything gets 48 compiled and put into it's proper locations:</para>52 compiled:</para> 49 53 50 <screen os="e"><userinput>cp .config .config.orig 51 sed -e "s:# USING_CROSS_COMPILER.*:USING_CROSS_COMPILER=y:" \ 52 -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CLFS_TARGET}-\":" \ 53 .config.orig > .config</userinput></screen> 54 <screen os="e"><userinput>BUSYBOX_OPTIONS="CONFIG_DMALLOC CONFIG_BUILD_AT_ONCE CONFIG_BUILD_LIBBUSYBOX 55 CONFIG_FEATURE_SH_IS_NONE CONFIG_LOCALE_SUPPORT CONFIG_TFTP CONFIG_FTPGET CONFIG_FTPPUT 56 CONFIG_IPCALC CONFIG_TFTP CONFIG_HUSH CONFIG_LASH CONFIG_MSH CONFIG_INETD CONFIG_DPKG 57 CONFIG_RPM2CPIO CONFIG_RPM CONFIG_FOLD CONFIG_LOGNAME CONFIG_OD CONFIG_CRONTAB 58 CONFIG_UUDECODE CONFIG_UUENCODE CONFIG_SULOGIN CONFIG_DC CONFIG_DEBUG_YANK_SUSv2 59 CONFIG_DEBUG_INIT CONFIG_DEBUG_CROND_OPTION CONFIG_FEATURE_UDHCP_DEBUG CONFIG_TASKSET 60 CONFIG_CHATTR CONFIG_FSCK CONFIG_LSATTR CONFIG_CHPST CONFIG_SETUIDGID 61 CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT CONFIG_FEATURE_2_4_MODULES" 62 for config in $BUSYBOX_OPTIONS; do 63 cp .config .config.orig 64 sed -e "s:${config}=y:${config}=n:" .config.orig > .config 65 done 66 BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE" 67 for config in $BUSYBOX_OPTIONS; do 68 cp .config .config.orig 69 sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config 70 done</userinput></screen> 54 71 55 72 <para os="f">Compile the package:</para> 56 73 57 <screen os="g"><userinput>make CROSS="${CLFS_TARGET}-" PREFIX="${CLFS}" EXTRA_CFLAGS="${BUILD}" busybox</userinput></screen>74 <screen os="g"><userinput>make ARCH=i386 CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}"</userinput></screen> 58 75 59 76 <para os="h">Install the package:</para> 60 77 61 <screen os="i"><userinput>make PREFIX="${CLFS}" install</userinput></screen>78 <screen os="i"><userinput>make ARCH=i386 PREFIX="${CLFS}" install</userinput></screen> 62 79 63 80 <para os="j">If your going to build your kernel with modules, you will need to make -
BOOK/general.ent
r961b7c5 rbe76242 3 3 <!ENTITY month "02"> <!-- Use two digits --> 4 4 <!ENTITY month_name "January"> 5 <!ENTITY day "0 3"> <!-- Use two digits -->5 <!ENTITY day "04"> <!-- Use two digits --> 6 6 <!ENTITY year "2007"> <!-- Use four digits --> 7 7 -
BOOK/packages.ent
r961b7c5 rbe76242 11 11 <!ENTITY binutils-home "http://sources.redhat.com/binutils/"> 12 12 13 <!ENTITY busybox-version "1. 2.2.1">14 <!ENTITY busybox-size "1, 385KB">13 <!ENTITY busybox-version "1.4.1"> 14 <!ENTITY busybox-size "1,483 KB"> 15 15 <!ENTITY busybox-url "http://busybox.net/downloads/busybox-&busybox-version;.tar.bz2"> 16 <!ENTITY busybox-md5 " 153f7a4d7580c19ed6f6570f039b64b5">16 <!ENTITY busybox-md5 "5728403bce309cdabcffa414e2e64052"> 17 17 <!ENTITY busybox-home "http://www.busybox.net"> 18 18 … … 22 22 <!ENTITY clfs-bootscripts-md5 "b276c989058a7c2a5ec1ecdf6e08363e"> 23 23 <!ENTITY clfs-bootscripts-home " "> 24 25 <!ENTITY e2fsprogs-version "1.39"> 26 <!ENTITY e2fsprogs-size "3,612 KB"> 27 <!ENTITY e2fsprogs-url "&sourceforge;e2fsprogs/e2fsprogs-&e2fsprogs-version;.tar.gz"> 28 <!ENTITY e2fsprogs-md5 "06f7806782e357797fad1d34b7ced0c6"> 29 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net"> 24 30 25 31 <!ENTITY gcc-version "4.1.1"> … … 37 43 <!ENTITY linux-dl-version "2.6"> 38 44 39 <!ENTITY linux-version "2.6.19 ">40 <!ENTITY linux-size "41,89 6KB">45 <!ENTITY linux-version "2.6.19.2"> 46 <!ENTITY linux-size "41,892 KB"> 41 47 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-dl-version;/linux-&linux-version;.tar.bz2"> 42 <!ENTITY linux-md5 " 443c265b57e87eadc0c677c3acc37e20">48 <!ENTITY linux-md5 "ca0ce8f288e8ae93ac243b568f906bf8"> 43 49 <!ENTITY linux-home "http://www.kernel.org/"> 44 50 45 <!ENTITY linux-headers-version "&linux-version;- 12042006">46 <!ENTITY linux-headers-size "1,6 27KB">51 <!ENTITY linux-headers-version "&linux-version;-01232007"> 52 <!ENTITY linux-headers-size "1,636 KB"> 47 53 <!ENTITY linux-headers-url "&packages-root;linux-headers-&linux-headers-version;.tar.bz2"> 48 <!ENTITY linux-headers-md5 " 0bef91b0af3f234829a341e101354d68">54 <!ENTITY linux-headers-md5 "acb30395626a7be00da8056421f7f72f"> 49 55 <!ENTITY linux-headers-home "http://headers.cross-lfs.org/"> 50 56 -
BOOK/patches.ent
r961b7c5 rbe76242 38 38 39 39 <!-- Beyond patches --> 40 40 41 <!ENTITY dropbear-autotool-patch "dropbear-&dropbear-version;-autotool-1.patch"> 41 42 <!ENTITY dropbear-autotool-patch-md5 "eb5c1803aec03ea0d62cf57b4ef9bcb5"> … … 43 44 44 45 <!-- MIPS Patches --> 46 45 47 <!ENTITY linux-mips-patch "linux-&linux-version;-mips-1.patch"> 46 <!ENTITY linux-mips-patch-md5 " 4c75e5302a334649f126a0de3295b883">47 <!ENTITY linux-mips-patch-size "4 64KB">48 <!ENTITY linux-mips-patch-md5 "165e1a3619ebf5ac0a2858b61e860c1d"> 49 <!ENTITY linux-mips-patch-size "480 KB"> 48 50 49 51 <!ENTITY linux-mips_fixes-patch "linux-&linux-version;-mips_fixes-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.