[1/3] nmk: Don't redefine MAKEFLAGS

Submitted by Dmitry Safonov on April 19, 2018, 3:22 a.m.

Details

Message ID 20180419032255.4844-2-dima@arista.com
State Accepted
Series "make: Fix parallel build for zdtm"
Commit 4cbd3ac44737a0a5fb99f52028127b55a45abdcd
Headers show

Commit Message

Dmitry Safonov April 19, 2018, 3:22 a.m.
$(MAKEFLAGS) already contains -r -R and --no-print-directory: those
flags are being added in include.mk.. which is included two lines above.
There is no comment and I see no big sense in erasing $(MAKEFLAGS),
rather than adding those flags. So I considered this as a typo.

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Dmitry Safonov <dima@arista.com>
---
 scripts/nmk/Makefile | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/scripts/nmk/Makefile b/scripts/nmk/Makefile
index baab57b94a6c..ba4aca88cb16 100644
--- a/scripts/nmk/Makefile
+++ b/scripts/nmk/Makefile
@@ -3,8 +3,6 @@  export __nmk_dir
 
 include $(__nmk_dir)include.mk
 
-MAKEFLAGS := -r -R --no-print-directory
-
 help:
 	@echo '    Targets:'
 	@echo '      install dir=<dir>  - Install scripts into directory <dir>'