aboutsummaryrefslogtreecommitdiff
path: root/support/scripts
diff options
context:
space:
mode:
authorGravatar Guido Martínez <guido@vanguardiasur.com.ar>2014-11-21 13:19:05 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-13 17:19:56 +0200
commitfd13247a22884880fd759796dfdfad728590d5d4 (patch)
treefd06706bb896972d7473fadd684ea3bc4e99ea53 /support/scripts
parente8810036a8714c88573983878859ed994aa8d3b3 (diff)
downloadbuildroot-fd13247a22884880fd759796dfdfad728590d5d4.tar.gz
buildroot-fd13247a22884880fd759796dfdfad728590d5d4.tar.bz2
scripts: mkmakefile: set umask before calling BR's makefile
Small optimization so we don't have another 'make' level (caused by the umask fix) when running the generated makefile. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/mkmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/mkmakefile b/support/scripts/mkmakefile
index 27b15073f3..974e2c0eb6 100755
--- a/support/scripts/mkmakefile
+++ b/support/scripts/mkmakefile
@@ -35,7 +35,7 @@ MAKEFLAGS += --no-print-directory
all := \$(filter-out Makefile,\$(MAKECMDGOALS))
_all:
- \$(MAKE) \$(MAKEARGS) \$(all)
+ umask 0022 && \$(MAKE) \$(MAKEARGS) \$(all)
Makefile:;