[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASevj4QQ5-J4QRbwS-vGkvb8VBrvzXVZDUhbHoA=auMxA@mail.gmail.com>
Date: Wed, 14 Nov 2018 08:13:54 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Cc: Michal Marek <michal.lkml@...kovi.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kbuild: remove 'prepare' and 'scripts' dummies for
external module build
On Mon, Nov 12, 2018 at 1:02 PM Masahiro Yamada
<yamada.masahiro@...ionext.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@...ionext.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
Powered by blists - more mailing lists