diff mbox series

kbuild: remove 'prepare' and 'scripts' dummies for external module build

Message ID 1541995285-11144-1-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series kbuild: remove 'prepare' and 'scripts' dummies for external module build | expand

Commit Message

Masahiro Yamada Nov. 12, 2018, 4:01 a.m. UTC
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@socionext.com>

---

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

-- 
2.7.4

Comments

Masahiro Yamada Nov. 13, 2018, 11:13 p.m. UTC | #1
On Mon, Nov 12, 2018 at 1:02 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>

> 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@socionext.com>

> ---


Applied to linux-kbuild.


>

>  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

>



-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

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)