Changeset 93539e4 in clfs-embedded for BOOK/final-system
- Timestamp:
- Nov 28, 2010, 8:24:43 AM (14 years ago)
- Branches:
- master
- Children:
- 1490890
- Parents:
- a2420e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/busybox.xml
ra2420e1 r93539e4 30 30 <title>Installation of Busybox</title> 31 31 32 <para os="p1">The following patch contains a number of updates to the33 &busybox-version; b ranch by the Busybox developers:</para>32 <para os="p1">The following patch contains a number of fixes to version 33 &busybox-version; by the Busybox developers:</para> 34 34 35 <screen os="p2"><userinput>patch -Np1 -i ../&busybox- branch_update-patch;</userinput></screen>35 <screen os="p2"><userinput>patch -Np1 -i ../&busybox-fixes-patch;</userinput></screen> 36 36 37 <para os="a"> Copy the Busybox config file from where you downloaded it::</para>37 <para os="a">The following patch contains a default configuration for busybox:</para> 38 38 39 <screen os="b"><userinput>cp ${CLFS}/sources/busybox-&busybox-version;.config .config</userinput></screen> 39 <screen os="b"><userinput>patch -Np1 -i ../&busybox-config-patch; 40 cp -v clfs/config .config</userinput></screen> 40 41 41 42 <note os="c"> 42 <para>Below we are just telling Busybox to use the default configuration of 43 Busybox. For those for more adventureous, you can use make menuconfig, and 44 do a more custom build of your Busybox.</para> 43 <para>Currently we are just telling Busybox to use a generic 44 configuration. For those for more adventureous, you can use 45 <command>make menuconfig</command>, and create a custom or modified 46 configuration for your build.</para> 45 47 </note> 46 48 47 <para os="d">Now we will take our configuration we just created, and make Busybox use it:</para> 49 <para os="d">The following tells BusyBox to validate the configuration, 50 and makes sure all required options are defined:</para> 48 51 49 52 <screen os="e"><userinput>make oldconfig</userinput></screen> … … 51 54 <para os="f">Compile the package:</para> 52 55 53 <screen os="g"><userinput>make ARCH=${CLFS_ARCH} CC="${CC} ${BUILD}"CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>56 <screen os="g"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen> 54 57 55 58 <para os="h">Install the package:</para> 56 59 57 <screen os="i"><userinput>make ARCH=${CLFS_ARCH} CC="${CC} ${BUILD}"CROSS_COMPILE="${CLFS_TARGET}-" \58 CONFIG_PREFIX= ${CLFS}install</userinput></screen>60 <screen os="i"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" \ 61 CONFIG_PREFIX="${CLFS}" install</userinput></screen> 59 62 60 63 <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.