All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Makefile: clean *dtb_HS
@ 2019-08-16  7:02 sunil.m at techveda.org
  2019-08-16  8:06 ` Lokesh Vutla
  0 siblings, 1 reply; 5+ messages in thread
From: sunil.m at techveda.org @ 2019-08-16  7:02 UTC (permalink / raw)
  To: u-boot

From: Suniel Mahesh <sunil.m@techveda.org>

All TI HS platforms generate HS images/binaries along with
the normal images. These *dtb_HS are generated in dts dir
and there is no rule for cleanup. Added entry for cleanup
in clean and distclean targets.

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3b0864a..c740fde 100644
--- a/Makefile
+++ b/Makefile
@@ -1840,7 +1840,7 @@ clean: $(clean-dirs)
 		-o -name '*.symtypes' -o -name 'modules.order' \
 		-o -name modules.builtin -o -name '.tmp_*.o.*' \
 		-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
-		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
+		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' -o -name '*_HS' \) \
 		-type f -print | xargs rm -f \
 		bl31.c bl31.elf bl31_*.bin image.map
 
@@ -1868,7 +1868,7 @@ distclean: mrproper
 		\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
 		-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
 		-o -name '.*.rej' -o -name '*%' -o -name 'core' \
-		-o -name '*.pyc' \) \
+		-o -name '*.pyc' -o -name '*_HS' \) \
 		-type f -print | xargs rm -f
 	@rm -f boards.cfg CHANGELOG
 
-- 
2.7.4

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

* [U-Boot] [PATCH] Makefile: clean *dtb_HS
  2019-08-16  7:02 [U-Boot] [PATCH] Makefile: clean *dtb_HS sunil.m at techveda.org
@ 2019-08-16  8:06 ` Lokesh Vutla
  2019-08-16  8:46   ` [U-Boot] [PATCH v2] arm: dts: " sunil.m at techveda.org
  0 siblings, 1 reply; 5+ messages in thread
From: Lokesh Vutla @ 2019-08-16  8:06 UTC (permalink / raw)
  To: u-boot



On 16/08/19 12:32 PM, sunil.m at techveda.org wrote:
> From: Suniel Mahesh <sunil.m@techveda.org>
> 
> All TI HS platforms generate HS images/binaries along with
> the normal images. These *dtb_HS are generated in dts dir
> and there is no rule for cleanup. Added entry for cleanup
> in clean and distclean targets.
> 
> Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>

Instead can you do this in arch/arm/dts/Makefile

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 484e21e678..7492a28c1b 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -586,4 +586,4 @@ PHONY += dtbs
 dtbs: $(addprefix $(obj)/, $(dtb-y))
 	@:

-clean-files := *.dtb *.dtbo
+clean-files := *.dtb *.dtbo *._HS

Thanks and regards,
Lokesh

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

* [U-Boot] [PATCH v2] arm: dts: Makefile: clean *dtb_HS
  2019-08-16  8:06 ` Lokesh Vutla
@ 2019-08-16  8:46   ` sunil.m at techveda.org
  2019-08-16 10:52     ` Lokesh Vutla
  2019-08-21 12:43     ` Tom Rini
  0 siblings, 2 replies; 5+ messages in thread
From: sunil.m at techveda.org @ 2019-08-16  8:46 UTC (permalink / raw)
  To: u-boot

From: Suniel Mahesh <sunil.m@techveda.org>

TI HS platforms generate *dtb_HS binary blobs and there is no
rule for cleanup. Added entry for cleanup in clean-files target.

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
---
Changes for v2:

- changed description to fit the change done.
- As suggested by Lokesh Vutla, moved cleaning process
  to dts/Makefile
---
 arch/arm/dts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index e021888..5f4e05d 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -806,4 +806,4 @@ PHONY += dtbs
 dtbs: $(addprefix $(obj)/, $(dtb-y))
 	@:
 
-clean-files := *.dtb
+clean-files := *.dtb *_HS
-- 
2.7.4

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

* [U-Boot] [PATCH v2] arm: dts: Makefile: clean *dtb_HS
  2019-08-16  8:46   ` [U-Boot] [PATCH v2] arm: dts: " sunil.m at techveda.org
@ 2019-08-16 10:52     ` Lokesh Vutla
  2019-08-21 12:43     ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Lokesh Vutla @ 2019-08-16 10:52 UTC (permalink / raw)
  To: u-boot



On 16/08/19 2:16 PM, sunil.m at techveda.org wrote:
> From: Suniel Mahesh <sunil.m@techveda.org>
> 
> TI HS platforms generate *dtb_HS binary blobs and there is no
> rule for cleanup. Added entry for cleanup in clean-files target.
> 
> Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh

> ---
> Changes for v2:
> 
> - changed description to fit the change done.
> - As suggested by Lokesh Vutla, moved cleaning process
>   to dts/Makefile
> ---
>  arch/arm/dts/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index e021888..5f4e05d 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -806,4 +806,4 @@ PHONY += dtbs
>  dtbs: $(addprefix $(obj)/, $(dtb-y))
>  	@:
>  
> -clean-files := *.dtb
> +clean-files := *.dtb *_HS
> 

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

* [U-Boot] [PATCH v2] arm: dts: Makefile: clean *dtb_HS
  2019-08-16  8:46   ` [U-Boot] [PATCH v2] arm: dts: " sunil.m at techveda.org
  2019-08-16 10:52     ` Lokesh Vutla
@ 2019-08-21 12:43     ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2019-08-21 12:43 UTC (permalink / raw)
  To: u-boot

On Fri, Aug 16, 2019 at 02:16:36PM +0530, sunil.m at techveda.org wrote:

> From: Suniel Mahesh <sunil.m@techveda.org>
> 
> TI HS platforms generate *dtb_HS binary blobs and there is no
> rule for cleanup. Added entry for cleanup in clean-files target.
> 
> Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190821/54166330/attachment.sig>

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

end of thread, other threads:[~2019-08-21 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-16  7:02 [U-Boot] [PATCH] Makefile: clean *dtb_HS sunil.m at techveda.org
2019-08-16  8:06 ` Lokesh Vutla
2019-08-16  8:46   ` [U-Boot] [PATCH v2] arm: dts: " sunil.m at techveda.org
2019-08-16 10:52     ` Lokesh Vutla
2019-08-21 12:43     ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.