All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Makefile: remove pkg-stats data on clean
@ 2021-05-18 20:28 Yann E. MORIN
  2021-05-18 20:29 ` Thomas Petazzoni
  2021-05-18 20:31 ` Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-05-18 20:28 UTC (permalink / raw)
  To: buildroot

Like commit 1f187371d002 for cpe-updates data, also remove pkg-stats
data on clean.

Unlike the rest, those are not nicely located in a directory of their
own, and have no variable name associated with them, so we just need
to repeat their names in the clean rule.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c3305f46e9..9d2c0d8ecb 100644
--- a/Makefile
+++ b/Makefile
@@ -1089,7 +1089,8 @@ printvars:
 clean:
 	rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \
 		$(BUILD_DIR) $(BASE_DIR)/staging \
-		$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR)
+		$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \
+		$(O)/pkg-stats.*
 
 .PHONY: distclean
 distclean: clean
-- 
2.25.1

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

* [Buildroot] [PATCH] Makefile: remove pkg-stats data on clean
  2021-05-18 20:28 [Buildroot] [PATCH] Makefile: remove pkg-stats data on clean Yann E. MORIN
@ 2021-05-18 20:29 ` Thomas Petazzoni
  2021-05-18 20:31 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2021-05-18 20:29 UTC (permalink / raw)
  To: buildroot

On Tue, 18 May 2021 22:28:17 +0200
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> Like commit 1f187371d002 for cpe-updates data, also remove pkg-stats
> data on clean.
> 
> Unlike the rest, those are not nicely located in a directory of their
> own, and have no variable name associated with them, so we just need
> to repeat their names in the clean rule.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Matthew Weber <matthew.weber@rockwellcollins.com>

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] Makefile: remove pkg-stats data on clean
  2021-05-18 20:28 [Buildroot] [PATCH] Makefile: remove pkg-stats data on clean Yann E. MORIN
  2021-05-18 20:29 ` Thomas Petazzoni
@ 2021-05-18 20:31 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-05-18 20:31 UTC (permalink / raw)
  To: buildroot

All,

On 2021-05-18 22:28 +0200, Yann E. MORIN spake thusly:
> Like commit 1f187371d002 for cpe-updates data, also remove pkg-stats
> data on clean.
> 
> Unlike the rest, those are not nicely located in a directory of their
> own, and have no variable name associated with them, so we just need
> to repeat their names in the clean rule.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Matthew Weber <matthew.weber@rockwellcollins.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index c3305f46e9..9d2c0d8ecb 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1089,7 +1089,8 @@ printvars:
>  clean:
>  	rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \
>  		$(BUILD_DIR) $(BASE_DIR)/staging \
> -		$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR)
> +		$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \
> +		$(O)/pkg-stats.*
>  
>  .PHONY: distclean
>  distclean: clean
> -- 
> 2.25.1
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

end of thread, other threads:[~2021-05-18 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 20:28 [Buildroot] [PATCH] Makefile: remove pkg-stats data on clean Yann E. MORIN
2021-05-18 20:29 ` Thomas Petazzoni
2021-05-18 20:31 ` Yann E. MORIN

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.