[Buildroot] [git commit] scripts: mkmakefile: set umask before calling BR's makefile

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 13 15:19:56 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=fd13247a22884880fd759796dfdfad728590d5d4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 support/scripts/mkmakefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/support/scripts/mkmakefile b/support/scripts/mkmakefile
index 27b1507..974e2c0 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:;
 



More information about the buildroot mailing list