Go to file
Thomas Petazzoni 256f142bf6 Makefile: add BR_BUILDING variable
Some packages do some sanity checks on their configuration, for
example linux checks that the defconfig string is not empty when a
defconfig is used. Such checks are currently always performed, except
when the 'source' target is part of make goals.

This is problematic for two reasons:

 - Other targets such as 'source-check', 'external-deps' or
   'legal-info', that do not consist in doing a build, cannot be
   executed in such situations.

 - The current code removes the check as soon as one of the targets is
   source. But if there are other non-source targets called at the
   same time, the checks are ignored.

This commit therefore introduces an internal variable called
BR_BUILDING, which tells packages if we are actually building or
not. A variable nobuild_targets indicates the targets that we do not
consider as being build targets.

For the moment, nobuild_targets only contains 'source', to be
completely iso-functional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-04-26 19:55:40 +02:00
arch sh64: deprecate support for this dead architecture 2015-04-25 10:32:40 +02:00
board nitrogen6x: tweak readme wording 2015-04-23 10:03:40 +02:00
boot
configs configs: drop redundant IPv6 option 2015-04-22 22:59:54 +02:00
docs docs/manual: remove references to IPv6 2015-04-22 23:00:11 +02:00
fs fs: only add non rootfs- targets to PACKAGES 2015-04-26 12:16:19 +02:00
linux rtai: remove option BR2_LINUX_KERNEL_EXT_RTAI_PATCH 2015-04-22 22:12:15 +02:00
package pkg-generic: introduce a <pkg>_ALL_DOWNLOADS variable and factorize code 2015-04-26 19:55:12 +02:00
support support/download: restore mandatory check of hashes 2015-04-25 11:51:44 +02:00
system system: drop IPv6 depend for systemd 2015-04-22 22:59:42 +02:00
toolchain toolchain/external: ignore missing hash for custom downloaded toolchain 2015-04-25 11:51:25 +02:00
.defconfig
.gitignore
CHANGES
Config.in
Config.in.legacy package/tiff: Rework tiff utilities handling 2015-04-25 10:15:10 +02:00
COPYING
Makefile Makefile: add BR_BUILDING variable 2015-04-26 19:55:40 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

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

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

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

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.