aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL21
1 files changed, 14 insertions, 7 deletions
diff --git a/INSTALL b/INSTALL
index c7165dec2..d5e9ae343 100644
--- a/INSTALL
+++ b/INSTALL
@@ -72,6 +72,13 @@ also configure a standaone install capability into the busybox base applet,
72and then install such links at runtime with one of "busybox --install" (for 72and then install such links at runtime with one of "busybox --install" (for
73hardlinks) or "busybox --install -s" (for symlinks). 73hardlinks) or "busybox --install -s" (for symlinks).
74 74
75If you built busybox as shared object which uses libbusybox.so and have not
76yet installed the binary but want to run tests, then set your LD_LIBRARY_PATH
77accordingly before running the executable:
78
79 export LD_LIBRARY_PATH=`pwd`
80 ./busybox
81
75Building out-of-tree: 82Building out-of-tree:
76===================== 83=====================
77 84
@@ -80,8 +87,13 @@ Building from a read-only source tree, or to building multiple
80configurations from the same source directory, requires the ability to 87configurations from the same source directory, requires the ability to
81put the temporary files somewhere else. 88put the temporary files somewhere else.
82 89
83To build out of tree, use the O=$BUILDPATH option during the configuration 90To build out of tree, cd to the empty directory and do this instead:
84step, as in: 91
92 make -f /path/to/source/Makefile allyesconfig
93 make
94 make install
95
96Alternately, use the O=$BUILDPATH option during the configuration step, as in:
85 97
86 make O=/some/empty/directory allyesconfig 98 make O=/some/empty/directory allyesconfig
87 cd /some/empty/directory 99 cd /some/empty/directory
@@ -90,11 +102,6 @@ step, as in:
90 102
91(Note, O= requires an absolute path.) 103(Note, O= requires an absolute path.)
92 104
93Alternately, cd to the empty directory and do this instead:
94
95 make top_srcdir=/path/to/source -f /path/to/source/Makefile allyesconfig
96 make
97 make install
98 105
99More Information: 106More Information:
100================= 107=================