[Buildroot] [PATCH] Makefile: unset MAKEFLAGS

Samuel Martin s.martin49 at gmail.com
Sun Jul 7 18:42:19 UTC 2013


MAKEFLAGS can carry options that make Buildroot failed, eg. '-jN'.
To avoid this, unset the MAKEFLAGS environment variable.

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 015fbdf..11a7b70 100644
--- a/Makefile
+++ b/Makefile
@@ -207,6 +207,7 @@ unexport CFLAGS
 unexport CXXFLAGS
 unexport GREP_OPTIONS
 unexport CONFIG_SITE
+unexport MAKEFLAGS
 unexport QMAKESPEC
 unexport TERMINFO
 
-- 
1.8.3.2



More information about the buildroot mailing list