]> Git Repo - buildroot-mgba.git/blame - docs/README
Update copyright info for 2011
[buildroot-mgba.git] / docs / README
CommitLineData
ffde94bd
EA
1To build and use the buildroot stuff, do the following:
2
2a7d563e 31) run 'make menuconfig'
957a598c 42) select the packages you wish to compile
c7af927d
EA
53) run 'make'
64) wait while it compiles
957a598c
EA
75) 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.
c7af927d
EA
11
12You do not need to be root to build or run buildroot. Have fun!
ffde94bd
EA
13
14 -Erik
15
1d9fa600
BRF
16Offline build:
17==============
18
19In order to do an offline-build (not connected to the net), fetch all
20selected source by issuing a
21$ make source
22
23before you disconnect.
24If your build-host is never connected, then you have to copy buildroot
25and your toplevel .config to a machine that has an internet-connection
26and issue "make source" there, then copy the content of your dl/ dir to
27the build-host.
28
d1b1b4ee
PK
29Building out-of-tree:
30=====================
31
32Buildroot supports building out of tree with a syntax similar
33to the Linux kernel. To use it, add O=<directory> to the
34make command line, E.G.:
35
36$ make O=/tmp/build
37
cd7459b4 38And all the output files (including .config) will be located under /tmp/build.
d1b1b4ee 39
05a2211c
BRF
40More finegrained configuration:
41===============================
42
43You can specify a config-file for uClibc:
44$ make UCLIBC_CONFIG_FILE=/my/uClibc.config
45
673ee97c
BRF
46And you can specify a config-file for busybox:
47$ make BUSYBOX_CONFIG_FILE=/my/busybox.config
48
fccd6603 49To use a non-standard host-compiler (if you do not have 'gcc'),
05a2211c
BRF
50make sure that the compiler is in your PATH and that the library paths are
51setup properly, if your compiler is built dynamically:
52$ make HOSTCC=gcc-4.3.orig HOSTCXX=gcc-4.3-mine
53
54Depending on your configuration, there are some targets you can use to
55use menuconfig of certain packages. This includes:
176afdb3 56$ make HOSTCC=gcc-4.3 linux-menuconfig
05a2211c
BRF
57$ make HOSTCC=gcc-4.3 uclibc-menuconfig
58$ make HOSTCC=gcc-4.3 busybox-menuconfig
59
9d40356a
PK
60Please feed suggestions, bug reports, insults, and bribes back to the
61buildroot mailing list: [email protected]
This page took 0.180222 seconds and 4 git commands to generate.