update to current HEAD
[buildroot.git] / docs / README
blob8a51e0199b414ddd2d85f1656e41dfd66cd0a23c
1 To build and use the buildroot stuff, do the following:
3 1) run 'make menuconfig'
4 2) select the packages you wish to compile
5 3) run 'make'
6 4) wait while it compiles
7 5) Use your shiny new root filesystem.  Depending on which sortof
8     root filesystem you selected, you may want to loop mount it,
9     chroot into it, nfs mount it on your target device, burn it
10     to flash, or whatever is appropriate for your target system.
12 You do not need to be root to build or run buildroot.  Have fun!
14  -Erik
16 Offline build:
17 ==============
19 In order to do an offline-build (not connected to the net), fetch all
20 selected source by issuing a
21 $ make source
23 before you disconnect.
24 If your build-host is never connected, then you have to copy buildroot
25 and your toplevel .config to a machine that has an internet-connection
26 and issue "make source" there, then copy the content of your dl/ dir to
27 the build-host.
29 More finegrained configuration:
30 ===============================
32 You can specify a config-file for uClibc:
33 $ make UCLIBC_CONFIG_FILE=/my/uClibc.config
35 And you can specify a config-file for busybox:
36 $ make BUSYBOX_CONFIG_FILE=/my/busybox.config
38 To use a non-standart host-compiler (if you do not have 'gcc'),
39 make sure that the compiler is in your PATH and that the library paths are
40 setup properly, if your compiler is built dynamically:
41 $ make HOSTCC=gcc-4.3.orig HOSTCXX=gcc-4.3-mine
43 Depending on your configuration, there are some targets you can use to
44 configure certain packages via their menuconfig. This includes:
45 $ make HOSTCC=gcc-4.3 linux26-menuconfig
46 $ make HOSTCC=gcc-4.3 uclibc-menuconfig
47 $ make HOSTCC=gcc-4.3 busybox-menuconfig
49 Please feed suggestions, bug reports, insults, and bribes back to:
50         Erik Andersen <andersen@codepoet.org>
51 or the buildroot mailing list.