Go to file
Guido Martínez 1e9f604716 Makefile: fix performance regression caused by the umask handling
Commit bee5745c introduced an extra level of 'make' when the umask is
different from 0022. However, when several targets were specified on
the command line, a new make instance would be called for each target.
This introduces a huge performance overhead when many targets are
specified on the command line.

To fix this, use the same approach as used in the mkmakefile script:
an addition target on which the MAKECMDGOALS depend, so that this
target is run only once.

Note that the mkmakefile script contains a special exception for
Makefile, because the Makefile in the output directory is generated.
Since the top-level Makefile is not generated, this exception is not
needed here.

While we're at it, also fix the whitespace in the UMASK assignment.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr: aggregate patches from Arnout and Guido]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-18 11:31:38 +02:00
arch arch: aarch64 always has a MMU 2015-07-12 18:34:42 +02:00
board board/wandboard: add a genimage config 2015-07-13 20:59:57 +02:00
boot boot/uboot: bump to version 2015.07 2015-07-16 23:39:19 +02:00
configs board/wandboard: add a genimage config 2015-07-13 20:59:57 +02:00
docs docs/manual: Fix trivial typo 2015-07-14 23:56:58 +02:00
fs fs/iso9660: change the name of the tmp dir to be consistent 2015-07-14 01:31:07 +02:00
linux linux: use backtick instead of $(shell ...) make function 2015-07-15 00:42:01 +02:00
package gptfdisk: bump version 1.0.0 2015-07-18 11:20:14 +02:00
support core/out-of-tree: fix Makefile wrapper 2015-07-16 23:38:52 +02:00
system skeleton: New package 2015-07-14 18:08:23 +02:00
toolchain trivial: fix typo optimazation 2015-07-17 19:39:19 +02:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES CHANGES: add release note for the permissions 2015-07-13 17:03:13 +02:00
Config.in core: fix download menu 2015-07-14 09:46:51 +02:00
Config.in.legacy package/perf: migrate perf to use the new linux-tools infrastructure 2015-07-14 23:28:06 +02:00
COPYING
Makefile Makefile: fix performance regression caused by the umask handling 2015-07-18 11:31:38 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

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.