Changeset de798fc in clfs-embedded


Ignore:
Timestamp:
Jan 26, 2009, 8:57:10 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
d72d615
Parents:
3a3ba13
Message:

Busybox Updates

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/busybox.xml

    r3a3ba13 rde798fc  
    3535<screen os="p2"><userinput>patch -Np1 -i ../&busybox-branch_update-patch;</userinput></screen>
    3636
    37     <para os="a">Create the default configuration:</para>
     37    <para os="a">Copy the Busybox config file from where you downloaded it::</para>
    3838
    39 <screen os="b"><userinput>make defconfig</userinput></screen>
     39<screen os="b"><userinput>cp ${CLFS}/sources/busybox-&busybox-version;.config .config</userinput></screen>
    4040
    4141    <note os="c">
    4242      <para>Below we are just telling Busybox to use the default configuration of
    43       uClibc. For those for more adventureous, you can use make menuconfig, and
     43      Busybox. For those for more adventureous, you can use make menuconfig, and
    4444      do a more custom build of your Busybox.</para>
    4545    </note>
    4646
    47    <para os="d">We will need to edit the configuration file, to make sure everything gets
    48    compiled:</para>
     47   <para os="d">Now we will take our configuration we just created, and make Busybox use it:</para>
    4948
    50 <screen os="e"><userinput>BUSYBOX_OPTIONS="CONFIG_DMALLOC CONFIG_BUILD_AT_ONCE CONFIG_BUILD_LIBBUSYBOX
    51     CONFIG_FEATURE_SH_IS_NONE CONFIG_LOCALE_SUPPORT CONFIG_TFTP CONFIG_FTPGET
    52     CONFIG_FTPPUT CONFIG_IPCALC CONFIG_TFTP CONFIG_HUSH CONFIG_LASH
    53     CONFIG_MSH CONFIG_INETD CONFIG_DPKG CONFIG_RPM2CPIO CONFIG_RPM
    54     CONFIG_FOLD CONFIG_LOGNAME CONFIG_OD CONFIG_CRONTAB CONFIG_UUDECODE
    55     CONFIG_UUENCODE CONFIG_SULOGIN CONFIG_DC CONFIG_DEBUG_YANK_SUSv2
    56     CONFIG_DEBUG_INIT CONFIG_DEBUG_CROND_OPTION CONFIG_FEATURE_UDHCP_DEBUG
    57     CONFIG_TASKSET CONFIG_CHATTR CONFIG_FSCK CONFIG_LSATTR CONFIG_CHPST
    58     CONFIG_SETUIDGID CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT
    59     CONFIG_FEATURE_2_4_MODULES"
    60 for config in $BUSYBOX_OPTIONS; do
    61     cp .config{,.orig}
    62     sed -e "s:${config}=y:${config}=n:" .config.orig &gt; .config
    63 done
    64 BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE
    65     CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE"
    66 for config in $BUSYBOX_OPTIONS; do
    67     cp .config{,.orig}
    68     sed -e "s:# ${config} is not set:${config}=y:" .config.orig &gt; .config
    69 done</userinput></screen>
     49<screen os="e"><userinput>make oldconfig</userinput></screen>
    7050
    7151    <para os="f">Compile the package:</para>
    7252
    73 <screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}"</userinput></screen>
     53<screen os="g"><userinput>make ARCH=${CLFS_ARCH} CC="${CC} ${BUILD}" CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>
    7454
    7555    <para os="h">Install the package:</para>
    7656
    77 <screen os="i"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" \
    78     CONFIG_PREFIX="${CLFS}" install</userinput></screen>
     57<screen os="i"><userinput>make make ARCH=${CLFS_ARCH} CC="${CC} ${BUILD}" CROSS_COMPILE="${CLFS_TARGET}-" \
     58  CONFIG_PREFIX=${IMAGE_DIR} install</userinput></screen>
    7959
    8060    <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.