Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 19  it, is to enable all features and then u Line 19  it, is to enable all features and then u
19  blank command $PATH.  blank command $PATH.
20    
21  To enable all features, use "make defconfig", which produces the largest  To enable all features, use "make defconfig", which produces the largest
22  general-purpose configuration.  (It's allyesconfig minus debugging options,  general-purpose configuration.  It's allyesconfig minus debugging options,
23  optional packaging choices, and a few special-purpose features requiring  optional packaging choices, and a few special-purpose features requiring
24  extra configuration to use.)  extra configuration to use.  Then enable "standalone shell" feature:
25    
26    make defconfig    make defconfig
27      make menuconfig
28      # select Busybox Settings
29      #   then General Configuration
30      #     then exec prefers applets
31      #   exit back to top level menu
32      #   select Shells
33      #     then Standalone shell
34      #   exit back to top level menu
35      # exit and save new configuration
36      #   OR
37      # use these commands to modify .config directly:
38      sed -e 's/.*FEATURE_PREFER_APPLETS.*/CONFIG_FEATURE_PREFER_APPLETS=y/' -i .config
39      sed -e 's/.*FEATURE_SH_STANDALONE.*/CONFIG_FEATURE_SH_STANDALONE=y/' -i .config
40    make    make
41    PATH= ./busybox ash    PATH= ./busybox ash
42    
# Line 104  somewhere else. Line 117  somewhere else.
117    
118  To build out of tree, cd to an empty directory and configure busybox from there:  To build out of tree, cd to an empty directory and configure busybox from there:
119    
120    make -f /path/to/source/Makefile defconfig    make KBUILD_SRC=/path/to/source -f /path/to/source/Makefile defconfig
121    make    make
122    make install    make install
123    
# Line 121  More Information: Line 134  More Information:
134    
135  Se also the busybox FAQ, under the questions "How can I get started using  Se also the busybox FAQ, under the questions "How can I get started using
136  BusyBox" and "How do I build a BusyBox-based system?"  The BusyBox FAQ is  BusyBox" and "How do I build a BusyBox-based system?"  The BusyBox FAQ is
137  available from http://www.busybox.net/FAQ.html or as the file  available from http://www.busybox.net/FAQ.html
 docs/busybox.net/FAQ.html in this tarball.  

Legend:
Removed from v.983  
changed lines
  Added in v.984