[PATCH] kbuild: remove redundant -rR flag of hdr-inst

Masahiro Yamada
2014-12-02T04:31:05Z

Passing -rR for "make headers_install" is redundant because
the top Makefile has already set -rR to MAKEFLAGS.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

scripts/Kbuild.include | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index eb14d83..c201ff3 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -193,10 +193,10 @@ modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj
clean := -f $(srctree)/scripts/Makefile.clean obj

###
-# Shorthand for $(Q)$(MAKE) -rR -f scripts/Makefile.headersinst obj=
+# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.headersinst obj=
# Usage:
# $(Q)$(MAKE) $(hdr-inst)=dir
-hdr-inst := -rR -f $(srctree)/scripts/Makefile.headersinst obj
+hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj

# Prefix -I with $(srctree) if it is not an absolute path.
# skip if -I has no parameter
--
1.9.1