diff options
author | Guido MartÃnez <guido@vanguardiasur.com.ar> | 2014-11-21 13:19:00 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-13 12:57:58 +0200 |
commit | bee5745ccc20be6dbba243b1f8af0d5c522923e8 (patch) | |
tree | d81851d9740ce4b5cf3b12e53425e1bf7ed9e575 /system | |
parent | e5e31fe92dd191480341d07a01f79f88abab9c2a (diff) |
Makefile: don't depend on the umask
Some packages and BR itself create files and directories on the target
with cp/mkdir/etc which depend on the umask at the time of building.
To fix this, use a trick inside the Makefile which wraps all rules when
the umask is not 0022. This sets the umask at the top level, and then
the building process continues as usual.
[Thomas: add --no-print-directory, as suggested by Arnout.]
Signed-off-by: Guido MartÃnez <guido@vanguardiasur.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions