Re: [PATCH] selinux, kbuild: remove unnecessary $(hostprogs-y) from clean-files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
> ---
> 
>  scripts/selinux/genheaders/Makefile | 1 -
>  scripts/selinux/mdp/Makefile        | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)

Acked-by: Paul Moore <paul@xxxxxxxxxxxxxx>
 
> 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

-- 
paul moore
www.paul-moore.com

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux