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