[PATCH] kbuild: remove 'prepare' and 'scripts' dummies for external module build
From: Masahiro Yamada
Date: Sun Nov 11 2018 - 23:02:17 EST
Make is lenient enough to ignore missing rules as long as they are marked
as PHONY. Remove dummy targets.
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---
Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Makefile b/Makefile
index 766a64e..7508243 100644
--- a/Makefile
+++ b/Makefile
@@ -1610,10 +1610,7 @@ help:
@echo ' clean - remove generated files in module directory only'
@echo ''
-# Dummies...
PHONY += prepare scripts
-prepare: ;
-scripts: ;
endif # KBUILD_EXTMOD
clean: $(clean-dirs)
--
2.7.4