diff mbox series

selinux: remove unnecessary assignment to subdir-

Message ID 1510569641-28179-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 2f3b55ac0e15857f46a3696e964bb244305223bf
Headers show
Series selinux: remove unnecessary assignment to subdir- | expand

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(-)

-- 
2.7.4

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


-- 
paul moore
www.paul-moore.com
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.



-- 
Best Regards
Masahiro Yamada
diff mbox series

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