Go to file
Arnout Vandecappelle 489970e047 pkg-infra: pass --disable-doc if documentation is not enabled
Many configure scripts support an option like --disable-doc, --disable-docs
or --disable-documentation.  Pass all of these to configure.

In addition, not all Xorg packages accept the --disable-xxx. Instead they
look for xmlto and/or fop and build documentation if they exist.  For host
packages, this may lead to build errors because /usr/bin/xmlto uses libxml2
and we set LD_LIBRARY_PATH to point to $(HOST_DIR)/lib, which may contain
a libxml2 as well.  So it's essential to disable xmlto for host packages.

Also some whitespace cleanup.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-12 17:11:15 +01:00
arch arm: update processor types 2012-12-09 23:07:11 +01:00
board qemu/ppc-virtex-ml507: add new sample config 2012-12-10 22:23:22 +01:00
boot barebox: add 2012.12, remove 2012.08 2012-12-10 22:27:35 +01:00
configs qemu/ppc-virtex-ml507: add new sample config 2012-12-10 22:23:22 +01:00
docs Update for 2012.11 2012-12-02 16:33:09 -08:00
fs reorder fs alphabetically 2012-12-02 23:19:25 -08:00
linux linux: bump to 3.7.x version 2012-12-11 21:26:07 +01:00
package pkg-infra: pass --disable-doc if documentation is not enabled 2012-12-12 17:11:15 +01:00
support dependencies.sh: only javac and jar are needed by classpath 2012-12-04 12:09:10 -08:00
system skeleton: add /etc/nsswitch.conf 2012-12-02 16:32:16 -08:00
toolchain kernel-headers: bump versions, remove deprecated, new deprecated 2012-12-11 21:25:27 +01:00
.defconfig
.gitignore .gitignore: ignore more patch related files 2010-11-18 12:07:23 +01:00
CHANGES Update for 2012.11 2012-12-02 16:33:09 -08:00
Config.in pkg-infra: introduce errors for legacy API 2012-11-30 12:06:40 -08:00
Config.in.legacy legacy: BR2_PACKAGE_LIBINTL is replaced by gettext 2012-11-30 12:07:35 -08:00
COPYING
Makefile Makefile: kickoff 2013.02 cycle 2012-12-02 17:19:18 -08:00
Makefile.legacy legacy: add error target for host-pkg-config 2012-11-30 12:07:09 -08:00

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) Use your shiny new root filesystem. Depending on which sort of
    root filesystem you selected, you may want to loop mount it,
    chroot into it, nfs mount it on your target device, burn it
    to flash, or whatever is appropriate for your target system.

You do not need to be root to build or run buildroot.  Have fun!

Offline build:
==============

In order to do an offline-build (not connected to the net), fetch all
selected source by issuing a
$ make source

before you disconnect.
If your build-host is never connected, then you have to copy buildroot
and your toplevel .config to a machine that has an internet-connection
and issue "make source" there, then copy the content of your dl/ dir to
the build-host.

Building out-of-tree:
=====================

Buildroot supports building out of tree with a syntax similar
to the Linux kernel. To use it, add O=<directory> to the
make command line, E.G.:

$ make O=/tmp/build

And all the output files (including .config) will be located under /tmp/build.

More finegrained configuration:
===============================

You can specify a config-file for uClibc:
$ make UCLIBC_CONFIG_FILE=/my/uClibc.config

And you can specify a config-file for busybox:
$ make BUSYBOX_CONFIG_FILE=/my/busybox.config

To use a non-standard host-compiler (if you do not have 'gcc'),
make sure that the compiler is in your PATH and that the library paths are
setup properly, if your compiler is built dynamically:
$ make HOSTCC=gcc-4.3.orig HOSTCXX=gcc-4.3-mine

Depending on your configuration, there are some targets you can use to
use menuconfig of certain packages. This includes:
$ make HOSTCC=gcc-4.3 linux-menuconfig
$ make HOSTCC=gcc-4.3 uclibc-menuconfig
$ make HOSTCC=gcc-4.3 busybox-menuconfig

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@uclibc.org