[Buildroot] [PATCH] Makefile: remove pkg-stats data on clean

Yann E. MORIN yann.morin.1998 at free.fr
Tue May 18 20:31:59 UTC 2021


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 at free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Matthew Weber <matthew.weber at 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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list