diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-08 07:19:06 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-08 07:19:06 +0000 |
commit | 8936a198804850b5195249ea7732ef62fcb1d6e0 (patch) | |
tree | e61a66acc1e0ba60df2536ee84ffa1f82e17adfc /docs/busybox.net | |
parent | bb4b9f1fc9fab0619c74f56e87515ebe75cdb8f8 (diff) | |
download | busybox-w32-8936a198804850b5195249ea7732ef62fcb1d6e0.tar.gz busybox-w32-8936a198804850b5195249ea7732ef62fcb1d6e0.tar.bz2 busybox-w32-8936a198804850b5195249ea7732ef62fcb1d6e0.zip |
- Add a FAQ entry on "how do i cross compile busybox"
Diffstat (limited to 'docs/busybox.net')
-rw-r--r-- | docs/busybox.net/FAQ.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/busybox.net/FAQ.html b/docs/busybox.net/FAQ.html index 214c1905e..b6a5d721f 100644 --- a/docs/busybox.net/FAQ.html +++ b/docs/busybox.net/FAQ.html | |||
@@ -10,6 +10,7 @@ have additions to this FAQ document, we would love to add them, | |||
10 | <ol> | 10 | <ol> |
11 | <li><a href="#getting_started">How can I get started using BusyBox?</a></li> | 11 | <li><a href="#getting_started">How can I get started using BusyBox?</a></li> |
12 | <li><a href="#configure">How do I configure busybox?</a></li> | 12 | <li><a href="#configure">How do I configure busybox?</a></li> |
13 | <li><a href="#build">How do I build BusyBox with a cross-compiler?</a></li> | ||
13 | <li><a href="#build_system">How do I build a BusyBox-based system?</a></li> | 14 | <li><a href="#build_system">How do I build a BusyBox-based system?</a></li> |
14 | <li><a href="#kernel">Which Linux kernel versions are supported?</a></li> | 15 | <li><a href="#kernel">Which Linux kernel versions are supported?</a></li> |
15 | <li><a href="#arch">Which architectures does BusyBox run on?</a></li> | 16 | <li><a href="#arch">Which architectures does BusyBox run on?</a></li> |
@@ -164,6 +165,21 @@ within each applet. More build coverage testing.</p></li> | |||
164 | </p> | 165 | </p> |
165 | <hr/> | 166 | <hr/> |
166 | <p/> | 167 | <p/> |
168 | <h2><a name="build">How do I build BusyBox with a cross-compiler?</a></h2> | ||
169 | <p> | ||
170 | To build busybox with a cross-compiler, specify CROSS_COMPILE=<prefix>. | ||
171 | </p> | ||
172 | <p> | ||
173 | CROSS_COMPILE specifies the prefix used for all executables used | ||
174 | during compilation. Only gcc and related binutils executables | ||
175 | are prefixed with $(CROSS_COMPILE) in the makefiles. | ||
176 | CROSS_COMPILE can be set on the command line: | ||
177 | <pre> | ||
178 | make CROSS_COMPILE=arm-linux-uclibcgnueabi- | ||
179 | </pre> | ||
180 | Alternatively CROSS_COMPILE can be set in the environment. | ||
181 | Default value for CROSS_COMPILE is not to prefix executables. | ||
182 | </p> | ||
167 | <h2><a name="build_system">How do I build a BusyBox-based system?</a></h2> | 183 | <h2><a name="build_system">How do I build a BusyBox-based system?</a></h2> |
168 | <p> | 184 | <p> |
169 | BusyBox is a package that replaces a dozen standard packages, but it is | 185 | BusyBox is a package that replaces a dozen standard packages, but it is |