]> Git Repo - buildroot-mgba.git/blob - docs/README
docs/README: ask people to mail the list instead of Erik
[buildroot-mgba.git] / docs / README
1 To build and use the buildroot stuff, do the following:
2
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.
11
12 You do not need to be root to build or run buildroot.  Have fun!
13
14  -Erik
15
16 Offline build:
17 ==============
18
19 In order to do an offline-build (not connected to the net), fetch all
20 selected source by issuing a
21 $ make source
22
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.
28
29 Building out-of-tree:
30 =====================
31
32 Buildroot supports building out of tree with a syntax similar
33 to the Linux kernel. To use it, add O=<directory> to the
34 make command line, E.G.:
35
36 $ make O=/tmp/build
37
38 And all the output files will be located under /tmp/build.
39
40 More finegrained configuration:
41 ===============================
42
43 You can specify a config-file for uClibc:
44 $ make UCLIBC_CONFIG_FILE=/my/uClibc.config
45
46 And you can specify a config-file for busybox:
47 $ make BUSYBOX_CONFIG_FILE=/my/busybox.config
48
49 To use a non-standard host-compiler (if you do not have 'gcc'),
50 make sure that the compiler is in your PATH and that the library paths are
51 setup properly, if your compiler is built dynamically:
52 $ make HOSTCC=gcc-4.3.orig HOSTCXX=gcc-4.3-mine
53
54 Depending on your configuration, there are some targets you can use to
55 use menuconfig of certain packages. This includes:
56 $ make HOSTCC=gcc-4.3 linux26-menuconfig
57 $ make HOSTCC=gcc-4.3 uclibc-menuconfig
58 $ make HOSTCC=gcc-4.3 busybox-menuconfig
59
60 Please feed suggestions, bug reports, insults, and bribes back to the
61 buildroot mailing list: [email protected]
This page took 0.025265 seconds and 4 git commands to generate.