lkml.org 
[lkml]   [2018]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] kbuild: remove 'scripts' dummy target for external module build
Date
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@socionext.com>
---

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
\
 
 \ /
  Last update: 2018-11-22 00:12    [W:0.023 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site