[Clfs-commits] commit: r4567 - in /branches/clfs-embedded: BOOK/final-system/common/busybox.xml config/busybox-1.13.2.config

svn at cross-lfs.org svn at cross-lfs.org
Mon Jan 26 08:57:10 PST 2009


Author: jim
Date: Mon Jan 26 16:57:10 2009
New Revision: 4567

Log:
Busybox Updates

Added:
    branches/clfs-embedded/config/busybox-1.13.2.config
Modified:
    branches/clfs-embedded/BOOK/final-system/common/busybox.xml

Modified: branches/clfs-embedded/BOOK/final-system/common/busybox.xml
==============================================================================
--- branches/clfs-embedded/BOOK/final-system/common/busybox.xml (original)
+++ branches/clfs-embedded/BOOK/final-system/common/busybox.xml Mon Jan 26 16:57:10 2009
@@ -34,48 +34,28 @@
 
 <screen os="p2"><userinput>patch -Np1 -i ../&busybox-branch_update-patch;</userinput></screen>
 
-    <para os="a">Create the default configuration:</para>
+    <para os="a">Copy the Busybox config file from where you downloaded it::</para>
 
-<screen os="b"><userinput>make defconfig</userinput></screen>
+<screen os="b"><userinput>cp ${CLFS}/sources/busybox-&busybox-version;.config .config</userinput></screen>
 
     <note os="c">
       <para>Below we are just telling Busybox to use the default configuration of
-      uClibc. For those for more adventureous, you can use make menuconfig, and
+      Busybox. For those for more adventureous, you can use make menuconfig, and
       do a more custom build of your Busybox.</para>
     </note>
 
-   <para os="d">We will need to edit the configuration file, to make sure everything gets
-   compiled:</para>
+   <para os="d">Now we will take our configuration we just created, and make Busybox use it:</para>
 
-<screen os="e"><userinput>BUSYBOX_OPTIONS="CONFIG_DMALLOC CONFIG_BUILD_AT_ONCE CONFIG_BUILD_LIBBUSYBOX
-    CONFIG_FEATURE_SH_IS_NONE CONFIG_LOCALE_SUPPORT CONFIG_TFTP CONFIG_FTPGET
-    CONFIG_FTPPUT CONFIG_IPCALC CONFIG_TFTP CONFIG_HUSH CONFIG_LASH
-    CONFIG_MSH CONFIG_INETD CONFIG_DPKG CONFIG_RPM2CPIO CONFIG_RPM
-    CONFIG_FOLD CONFIG_LOGNAME CONFIG_OD CONFIG_CRONTAB CONFIG_UUDECODE
-    CONFIG_UUENCODE CONFIG_SULOGIN CONFIG_DC CONFIG_DEBUG_YANK_SUSv2
-    CONFIG_DEBUG_INIT CONFIG_DEBUG_CROND_OPTION CONFIG_FEATURE_UDHCP_DEBUG
-    CONFIG_TASKSET CONFIG_CHATTR CONFIG_FSCK CONFIG_LSATTR CONFIG_CHPST
-    CONFIG_SETUIDGID CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT
-    CONFIG_FEATURE_2_4_MODULES"
-for config in $BUSYBOX_OPTIONS; do
-    cp .config{,.orig}
-    sed -e "s:${config}=y:${config}=n:" .config.orig > .config
-done
-BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE
-    CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE"
-for config in $BUSYBOX_OPTIONS; do
-    cp .config{,.orig}
-    sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config
-done</userinput></screen>
+<screen os="e"><userinput>make oldconfig</userinput></screen>
 
     <para os="f">Compile the package:</para>
 
-<screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}"</userinput></screen>
+<screen os="g"><userinput>make ARCH=${CLFS_ARCH} CC="${CC} ${BUILD}" CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>
 
     <para os="h">Install the package:</para>
 
-<screen os="i"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" \
-    CONFIG_PREFIX="${CLFS}" install</userinput></screen>
+<screen os="i"><userinput>make make ARCH=${CLFS_ARCH} CC="${CC} ${BUILD}" CROSS_COMPILE="${CLFS_TARGET}-" \
+  CONFIG_PREFIX=${IMAGE_DIR} install</userinput></screen>
 
     <para os="j">If your going to build your kernel with modules, you will need to make
     sure <command>depmod.pl</command> is available:</para>




More information about the Clfs-commits mailing list