From 8936a198804850b5195249ea7732ef62fcb1d6e0 Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer
Date: Fri, 8 Jun 2007 07:19:06 +0000
Subject: [PATCH] - Add a FAQ entry on "how do i cross compile busybox"
---
docs/busybox.net/FAQ.html | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
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,
- How can I get started using BusyBox?
- How do I configure busybox?
+- How do I build BusyBox with a cross-compiler?
- How do I build a BusyBox-based system?
- Which Linux kernel versions are supported?
- Which architectures does BusyBox run on?
@@ -164,6 +165,21 @@ within each applet. More build coverage testing.
+
+
+ To build busybox with a cross-compiler, specify CROSS_COMPILE=<prefix>.
+
+
+ CROSS_COMPILE specifies the prefix used for all executables used
+ during compilation. Only gcc and related binutils executables
+ are prefixed with $(CROSS_COMPILE) in the makefiles.
+ CROSS_COMPILE can be set on the command line:
+
+ make CROSS_COMPILE=arm-linux-uclibcgnueabi-
+
+ Alternatively CROSS_COMPILE can be set in the environment.
+ Default value for CROSS_COMPILE is not to prefix executables.
+
BusyBox is a package that replaces a dozen standard packages, but it is