X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=INSTALL;h=750cfc45bfd6de4a96ff73ebcd4e512a395ad96b;hb=4502bb1f21d39a74cc77e92935ef1767c2f9bf14;hp=2d645cd62b53d335fc51483d8f0fffd527550cf9;hpb=bb16f57e5d7a3985e27b684e1d329f88f896f40f;p=oweals%2Fbusybox.git diff --git a/INSTALL b/INSTALL index 2d645cd62..750cfc45b 100644 --- a/INSTALL +++ b/INSTALL @@ -47,8 +47,11 @@ the only commands busybox can find are the built-in ones. Note that the standalone shell requires CONFIG_BUSYBOX_EXEC_PATH to be set appropriately, depending on whether or not /proc/self/exe is -available or not. If you do not have /proc, then point that config option +available. If you do not have /proc, then point that config option to the location of your busybox binary, usually /bin/busybox. +Another solution is to patch the kernel (see +examples/linux-*_proc_self_exe.patch) to make exec("/proc/self/exe") +always work. Configuring Busybox: ==================== @@ -70,7 +73,9 @@ create a known starting point. Other starting configurations (mostly used for testing purposes) include "make allbareconfig" (enables all applets but disables all optional features), "make allyesconfig" (enables absolutely everything including debug features), -and "make randconfig" (produce a random configuration). +and "make randconfig" (produce a random configuration). The configs/ directory +contains a number of additional configuration files ending in _defconfig which +are useful in specific cases. "make help" will list them. Configuring BusyBox produces a file ".config", which can be saved for future use. Run "make oldconfig" to bring a .config file from an older version of @@ -97,7 +102,7 @@ first argument to determine which applet to behave as, for example "./busybox cat LICENSE". (Running the busybox applet with no arguments gives a list of all enabled applets.) The standalone shell can also call busybox applets without links to busybox under other names in the filesystem. You can -also configure a standaone install capability into the busybox base applet, +also configure a standalone install capability into the busybox base applet, and then install such links at runtime with one of "busybox --install" (for hardlinks) or "busybox --install -s" (for symlinks). @@ -117,7 +122,7 @@ somewhere else. To build out of tree, cd to an empty directory and configure busybox from there: - make -f /path/to/source/Makefile defconfig + make KBUILD_SRC=/path/to/source -f /path/to/source/Makefile defconfig make make install