kbuild: remove empty rules for makefiles
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 Feb 2019 07:40:08 +0000 (16:40 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 27 Feb 2019 12:43:31 +0000 (21:43 +0900)
commitb999923c29d69d795229e5bf1b49e1266491ff35
tree64232cc5d117a97eb29e0519e64a11e70fc4a25b
parent3812b8c5c5d527239ac015f1f2c7654da7fcfbba
kbuild: remove empty rules for makefiles

The previous commit made 'MAKEFLAGS += -rR' effective in the top
Makefile regardless of O= option, GNU Make versions.

The top Makefile does not need to cancel implicit rules for makefiles.

There is still one place where an empty rule is useful. Since -rR is
effective only after sub-make, GNU Make would try implicit rules to
update the top Makefile. Although it is not a big overhead, cancel it
just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile