[PATCH 2/2] kbuild: remove 'scripts' dummy target for external module build

From: Masahiro Yamada
Date: Wed Nov 21 2018 - 18:12:13 EST


Make simply skips a missing rule as long as it is marked as PHONY.
Remove the dummy target.

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---

Makefile | 2 --
1 file changed, 2 deletions(-)

diff --git a/Makefile b/Makefile
index 36f3f0e..269a9bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1604,11 +1604,9 @@ help:
@echo ' clean - remove generated files in module directory only'
@echo ''

-# Dummies...
PHONY += prepare scripts
prepare:
$(cmd_crmodverdir)
-scripts: ;
endif # KBUILD_EXTMOD

clean: $(clean-dirs)
--
2.7.4