linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Add dtb files to archclean rule
@ 2015-01-17 13:59 Jungseok Lee
  2015-01-19 10:39 ` Will Deacon
  0 siblings, 1 reply; 3+ messages in thread
From: Jungseok Lee @ 2015-01-17 13:59 UTC (permalink / raw)
  To: linux-arm-kernel

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 <rrichter@cavium.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com>
---
 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
 
 define archhelp
   echo  '* Image.gz      - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm64: Add dtb files to archclean rule
  2015-01-17 13:59 [PATCH] arm64: Add dtb files to archclean rule Jungseok Lee
@ 2015-01-19 10:39 ` Will Deacon
  2015-01-19 14:48   ` Jungseok Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2015-01-19 10:39 UTC (permalink / raw)
  To: linux-arm-kernel

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 <rrichter@cavium.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm64: Add dtb files to archclean rule
  2015-01-19 10:39 ` Will Deacon
@ 2015-01-19 14:48   ` Jungseok Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Jungseok Lee @ 2015-01-19 14:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Jan 19, 2015, at 7:39 PM, Will Deacon wrote:
> 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 <rrichter@cavium.com>
>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> Cc: Will Deacon <will.deacon@arm.com>
>> Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com>
>> ---
>> 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.

I agree with the point.
I will do respin with that change.

Best Regards
Jungseok Lee

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-19 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-17 13:59 [PATCH] arm64: Add dtb files to archclean rule Jungseok Lee
2015-01-19 10:39 ` Will Deacon
2015-01-19 14:48   ` Jungseok Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).