Subject: [PATCH] arm64: Add dtb files to archclean rule

From: [email-masked] (Will Deacon)
Date: Mon, 19 Jan 2015 10:39:27 +0000

On Sat, Jan 17, 2015 at 01:59:31PM +0000, Jungseok Lee wrote:
> As dts files have been reorganised under vendor subdirs, dtb files
> cannot be removed with "make distclean" now. Thus, this patch adds
> dtb files to archclean rule.
> 
> Cc: Robert Richter <[email-masked]>
> Cc: Catalin Marinas <[email-masked]>
> Cc: Will Deacon <[email-masked]>
> Signed-off-by: Jungseok Lee <[email-masked]>
> ---
>  arch/arm64/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
> index 1c43cec..0666888 100644
> --- a/arch/arm64/Makefile
> +++ b/arch/arm64/Makefile
> @@ -85,6 +85,7 @@ vdso_install:
>  # We use MRPROPER_FILES and CLEAN_FILES now
>  archclean:
>  	$(Q)$(MAKE) $(clean)=$(boot)
> +	$(Q)$(MAKE) $(clean)=$(boot)/dts

Looks sensible. I think we can also remove the always/clean-files entries
from arch/arm64/boot/dts/Makefile.

Will