diff mbox

selinux,kbuild: remove unnecessary $(hostprogs-y) from clean-files

Message ID 1397702546-25349-1-git-send-email-yamada.m@jp.panasonic.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada April 17, 2014, 2:42 a.m. UTC
Files added to hostprogs-y are cleaned. (See scripts/Makefile.clean)
Adding them to clean-files is redundant.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 scripts/selinux/genheaders/Makefile | 1 -
 scripts/selinux/mdp/Makefile        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

Comments

Paul Moore April 18, 2014, 1:41 a.m. UTC | #1
On Thursday, April 17, 2014 11:42:26 AM Masahiro Yamada wrote:
> Files added to hostprogs-y are cleaned. (See scripts/Makefile.clean)
> Adding them to clean-files is redundant.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
> 
>  scripts/selinux/genheaders/Makefile | 1 -
>  scripts/selinux/mdp/Makefile        | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)

Acked-by: Paul Moore <paul@paul-moore.com>
 
> diff --git a/scripts/selinux/genheaders/Makefile
> b/scripts/selinux/genheaders/Makefile index 417b165..1d1ac51 100644
> --- a/scripts/selinux/genheaders/Makefile
> +++ b/scripts/selinux/genheaders/Makefile
> @@ -2,4 +2,3 @@ hostprogs-y	:= genheaders
>  HOST_EXTRACFLAGS += -Isecurity/selinux/include
> 
>  always		:= $(hostprogs-y)
> -clean-files	:= $(hostprogs-y)
> diff --git a/scripts/selinux/mdp/Makefile b/scripts/selinux/mdp/Makefile
> index eb365b3..dba7eff 100644
> --- a/scripts/selinux/mdp/Makefile
> +++ b/scripts/selinux/mdp/Makefile
> @@ -2,4 +2,4 @@ hostprogs-y	:= mdp
>  HOST_EXTRACFLAGS += -Isecurity/selinux/include
> 
>  always		:= $(hostprogs-y)
> -clean-files	:= $(hostprogs-y) policy.* file_contexts
> +clean-files	:= policy.* file_contexts
Masahiro Yamada June 3, 2014, 5:47 a.m. UTC | #2
Hi Paul Moore,

On Thu, 17 Apr 2014 21:41:53 -0400
Paul Moore <paul@paul-moore.com> wrote:

> On Thursday, April 17, 2014 11:42:26 AM Masahiro Yamada wrote:
> > Files added to hostprogs-y are cleaned. (See scripts/Makefile.clean)
> > Adding them to clean-files is redundant.
> > 
> > Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> > ---
> > 
> >  scripts/selinux/genheaders/Makefile | 1 -
> >  scripts/selinux/mdp/Makefile        | 2 +-
> >  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> Acked-by: Paul Moore <paul@paul-moore.com>


It looks like this patch was not included into
GIT-PULL of "SELinux patches for 3.16".

Is it possible to apply this and send another pull request?

Best Regards
Masahiro Yamada

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Paul Moore June 3, 2014, 10:27 p.m. UTC | #3
On Tuesday, June 03, 2014 02:47:39 PM Masahiro Yamada wrote:
> Hi Paul Moore,

Hello.

> On Thu, 17 Apr 2014 21:41:53 -0400 Paul Moore <paul@paul-moore.com> wrote:
> > On Thursday, April 17, 2014 11:42:26 AM Masahiro Yamada wrote:
> > > Files added to hostprogs-y are cleaned. (See scripts/Makefile.clean)
> > > Adding them to clean-files is redundant.
> > > 
> > > Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> > > ---
> > > 
> > >  scripts/selinux/genheaders/Makefile | 1 -
> > >  scripts/selinux/mdp/Makefile        | 2 +-
> > >  2 files changed, 1 insertion(+), 2 deletions(-)
> > 
> > Acked-by: Paul Moore <paul@paul-moore.com>
> 
> It looks like this patch was not included into
> GIT-PULL of "SELinux patches for 3.16".
> 
> Is it possible to apply this and send another pull request?

My apologies, I thought the kbuild people were going to merge this patch; this 
is why I sent my Acked-by instead of a note that I've merged the patch.  
Considering that this patch doesn't actually fix any runtime problems and it 
hasn't been in any of the different "next" trees, I think it is best to wait 
until 3.17 for this patch.

I've added this patch to my queue of patches to be added to the SELinux #next 
branch after the 3.16 merge window closes.

Thanks again for the patch, I'm sorry that we didn't get it merged sooner.
Masahiro Yamada June 5, 2014, 7:18 a.m. UTC | #4
Hi Paul, Michal,

On Tue, 03 Jun 2014 18:27:41 -0400
Paul Moore <paul@paul-moore.com> wrote:

> On Tuesday, June 03, 2014 02:47:39 PM Masahiro Yamada wrote:
> > Hi Paul Moore,
> 
> Hello.
> 
> > On Thu, 17 Apr 2014 21:41:53 -0400 Paul Moore <paul@paul-moore.com> wrote:
> > > On Thursday, April 17, 2014 11:42:26 AM Masahiro Yamada wrote:
> > > > Files added to hostprogs-y are cleaned. (See scripts/Makefile.clean)
> > > > Adding them to clean-files is redundant.
> > > > 
> > > > Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> > > > ---
> > > > 
> > > >  scripts/selinux/genheaders/Makefile | 1 -
> > > >  scripts/selinux/mdp/Makefile        | 2 +-
> > > >  2 files changed, 1 insertion(+), 2 deletions(-)
> > > 
> > > Acked-by: Paul Moore <paul@paul-moore.com>
> > 
> > It looks like this patch was not included into
> > GIT-PULL of "SELinux patches for 3.16".
> > 
> > Is it possible to apply this and send another pull request?
> 
> My apologies, I thought the kbuild people were going to merge this patch; this 
> is why I sent my Acked-by instead of a note that I've merged the patch.  
> Considering that this patch doesn't actually fix any runtime problems and it 
> hasn't been in any of the different "next" trees, I think it is best to wait 
> until 3.17 for this patch.
> 
> I've added this patch to my queue of patches to be added to the SELinux #next 
> branch after the 3.16 merge window closes.
> 
> Thanks again for the patch, I'm sorry that we didn't get it merged sooner.

No worries.

Michal, could you apply this patch to kbuild.git#kbuild, please?


Best Regards
Masahiro Yamada

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Paul Moore June 5, 2014, 8:30 p.m. UTC | #5
On Thursday, June 05, 2014 04:18:23 PM Masahiro Yamada wrote:
> Hi Paul, Michal,
> 
> On Tue, 03 Jun 2014 18:27:41 -0400
> 
> Paul Moore <paul@paul-moore.com> wrote:
> > On Tuesday, June 03, 2014 02:47:39 PM Masahiro Yamada wrote:
> > > Hi Paul Moore,
> > 
> > Hello.
> > 
> > > On Thu, 17 Apr 2014 21:41:53 -0400 Paul Moore wrote:
> > > > On Thursday, April 17, 2014 11:42:26 AM Masahiro Yamada wrote:
> > > > > Files added to hostprogs-y are cleaned. (See scripts/Makefile.clean)
> > > > > Adding them to clean-files is redundant.
> > > > > 
> > > > > Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> > > > > ---
> > > > > 
> > > > >  scripts/selinux/genheaders/Makefile | 1 -
> > > > >  scripts/selinux/mdp/Makefile        | 2 +-
> > > > >  2 files changed, 1 insertion(+), 2 deletions(-)
> > > > 
> > > > Acked-by: Paul Moore <paul@paul-moore.com>
> > > 
> > > It looks like this patch was not included into
> > > GIT-PULL of "SELinux patches for 3.16".
> > > 
> > > Is it possible to apply this and send another pull request?
> > 
> > My apologies, I thought the kbuild people were going to merge this patch;
> > this is why I sent my Acked-by instead of a note that I've merged the
> > patch. Considering that this patch doesn't actually fix any runtime
> > problems and it hasn't been in any of the different "next" trees, I think
> > it is best to wait until 3.17 for this patch.
> > 
> > I've added this patch to my queue of patches to be added to the SELinux
> > #next branch after the 3.16 merge window closes.
> > 
> > Thanks again for the patch, I'm sorry that we didn't get it merged sooner.
> 
> No worries.
> 
> Michal, could you apply this patch to kbuild.git#kbuild, please?

As I said, it is not a problem for me to carry the patch in the SELinux tree.
diff mbox

Patch

diff --git a/scripts/selinux/genheaders/Makefile b/scripts/selinux/genheaders/Makefile
index 417b165..1d1ac51 100644
--- a/scripts/selinux/genheaders/Makefile
+++ b/scripts/selinux/genheaders/Makefile
@@ -2,4 +2,3 @@  hostprogs-y	:= genheaders
 HOST_EXTRACFLAGS += -Isecurity/selinux/include
 
 always		:= $(hostprogs-y)
-clean-files	:= $(hostprogs-y)
diff --git a/scripts/selinux/mdp/Makefile b/scripts/selinux/mdp/Makefile
index eb365b3..dba7eff 100644
--- a/scripts/selinux/mdp/Makefile
+++ b/scripts/selinux/mdp/Makefile
@@ -2,4 +2,4 @@  hostprogs-y	:= mdp
 HOST_EXTRACFLAGS += -Isecurity/selinux/include
 
 always		:= $(hostprogs-y)
-clean-files	:= $(hostprogs-y) policy.* file_contexts
+clean-files	:= policy.* file_contexts