From 8936a198804850b5195249ea7732ef62fcb1d6e0 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 8 Jun 2007 07:19:06 +0000 Subject: - Add a FAQ entry on "how do i cross compile busybox" --- docs/busybox.net/FAQ.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/busybox.net') 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,
  1. How can I get started using BusyBox?
  2. How do I configure busybox?
  3. +
  4. How do I build BusyBox with a cross-compiler?
  5. How do I build a BusyBox-based system?
  6. Which Linux kernel versions are supported?
  7. Which architectures does BusyBox run on?
  8. @@ -164,6 +165,21 @@ within each applet. More build coverage testing.


    +

    How do I build BusyBox with a cross-compiler?

    +

    + 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. +

    How do I build a BusyBox-based system?

    BusyBox is a package that replaces a dozen standard packages, but it is -- cgit v1.2.3