Changeset be76242 in clfs-embedded for BOOK/final-system
- Timestamp:
- Feb 4, 2007, 6:46:05 PM (18 years ago)
- Branches:
- master
- Children:
- 1603a9d
- Parents:
- 961b7c5
- Location:
- BOOK/final-system
- Files:
-
- 2 added
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.