diff mbox

selinux: remove unnecessary assignment to subdir-

Message ID 1510569641-28179-1-git-send-email-yamada.masahiro@socionext.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada Nov. 13, 2017, 10:40 a.m. UTC
Makefile.clean descends into $(subdir-y).  Dummy assignment to subdir-
is meaningless.

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

I will pick this up for kbuild tree
since this is very trivial from the build system point of view.


 scripts/selinux/Makefile | 1 -
 1 file changed, 1 deletion(-)

Comments

Paul Moore Nov. 13, 2017, 10:41 p.m. UTC | #1
On Mon, Nov 13, 2017 at 5:40 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> Makefile.clean descends into $(subdir-y).  Dummy assignment to subdir-
> is meaningless.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> I will pick this up for kbuild tree
> since this is very trivial from the build system point of view.

Okay, thanks.

Acked-by: Paul Moore <paul@paul-moore.com>

>  scripts/selinux/Makefile | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/scripts/selinux/Makefile b/scripts/selinux/Makefile
> index e8049da..b3048b8 100644
> --- a/scripts/selinux/Makefile
> +++ b/scripts/selinux/Makefile
> @@ -1,2 +1 @@
>  subdir-y := mdp genheaders
> -subdir-        += mdp genheaders
> --
> 2.7.4
Masahiro Yamada Nov. 16, 2017, 12:15 a.m. UTC | #2
2017-11-14 7:41 GMT+09:00 Paul Moore <paul@paul-moore.com>:
> On Mon, Nov 13, 2017 at 5:40 AM, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>> Makefile.clean descends into $(subdir-y).  Dummy assignment to subdir-
>> is meaningless.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> ---
>>
>> I will pick this up for kbuild tree
>> since this is very trivial from the build system point of view.
>
> Okay, thanks.
>
> Acked-by: Paul Moore <paul@paul-moore.com>
>

Applied to linux-kbuild/kbuild.
diff mbox

Patch

diff --git a/scripts/selinux/Makefile b/scripts/selinux/Makefile
index e8049da..b3048b8 100644
--- a/scripts/selinux/Makefile
+++ b/scripts/selinux/Makefile
@@ -1,2 +1 @@ 
 subdir-y := mdp genheaders
-subdir-	+= mdp genheaders