Changeset 76135be in clfs-embedded for BOOK/final-system
- Timestamp:
- Oct 16, 2013, 6:10:53 PM (11 years ago)
- Branches:
- master
- Children:
- b748208
- Parents:
- 828afdc
- git-author:
- Andrew Bradford <andrew@…> (10/16/13 18:10:22)
- git-committer:
- Andrew Bradford <andrew@…> (10/16/13 18:10:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/busybox.xml
r828afdc r76135be 31 31 <title>Installation of BusyBox</title> 32 32 33 <!-- Version 1.18.4 does not require any "fixes" patch, none exists, yet34 <para os="p1">The following patch contains a number of fixes to version35 &busybox-version; by the BusyBox developers:</para>36 37 <screen os="p2"><userinput>patch -Np1 -i ../&busybox-fixes-patch;</userinput></screen>38 -->39 40 33 <para os="a">First ensure the BusyBox source is completely clean:</para> 41 34 42 35 <screen os="b"><userinput>make distclean</userinput></screen> 43 36 44 <para os="c">The following patch contains a default configuration for BusyBox:</para>37 <para os="c">The following patch is needed for musl-libc:</para> 45 38 46 <screen os="d"><userinput>patch -Np1 -i ../&busybox-config-patch; 47 cp -v clfs/config .config</userinput></screen> 39 <screen os="d"><userinput>patch -Np1 -i ../&busybox-musl-patch;</userinput></screen> 48 40 49 <note os="e"> 50 <para>Currently we are just telling BusyBox to use a generic 51 configuration. For those for more adventurous, you can use 52 <command>make menuconfig</command>, and create a custom or modified 53 configuration for your build.</para> 41 <note os="e"> <para>We tell BusyBox to use the generic defconfig. For those 42 for more adventurous, you can use <command>make menuconfig</command>, 43 and create a custom or modified configuration for your build.</para> 54 44 </note> 55 45 56 <para os="f">The following tells BusyBox to validate the configuration,57 and makes sure all required options are defined:</para>46 <para os="f">The following tells BusyBox to use the default 47 configuration:</para> 58 48 59 <screen os="g"><userinput> make oldconfig</userinput></screen>49 <screen os="g"><userinput>ARCH="${CLFS_ARCH}" make defconfig</userinput></screen> 60 50 61 51 <para os="h">Compile the package:</para> 62 52 63 <screen os="i"><userinput> make CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>53 <screen os="i"><userinput>ARCH="${CLFS_ARCH}" CROSS_COMPILE="${CLFS_TARGET}-" make</userinput></screen> 64 54 65 55 <para os="j">Install the package:</para> 66 56 67 <screen os="k"><userinput> make CROSS_COMPILE="${CLFS_TARGET}-"\57 <screen os="k"><userinput>ARCH="${CLFS_ARCH}" CROSS_COMPILE="${CLFS_TARGET}-" make \ 68 58 CONFIG_PREFIX="${CLFS}/targetfs" install</userinput></screen> 69 59
Note:
See TracChangeset
for help on using the changeset viewer.