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