Thanks, applied as a9aa020cddf0278e95136eccb58af40f8e7178c3.

Michael

[sent from post-receive hook]

On Thu, 12 Sep 2024 14:11:35 +0200, Roland Hieber <[email protected]> wrote:
> The images installed by ptx/image-install are automatically cleaned up
> by the default clean stage.
> 
> Signed-off-by: Roland Hieber <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/templates/template-barebox-make 
> b/rules/templates/template-barebox-make
> index 84f15d91dc28..6821d65b9ab6 100644
> --- a/rules/templates/template-barebox-make
> +++ b/rules/templates/template-barebox-make
> @@ -75,20 +75,10 @@ $(STATEDIR)/barebox-@[email protected]:
>  $(STATEDIR)/barebox-@[email protected]:
>       @$(call targetinfo)
>       @$(foreach image, $(BAREBOX_@PACKAGE@_IMAGES), \
> -             install -m 644 \
> -                     $(image) $(IMAGEDIR)/$(notdir 
> $(image))-@package@$(ptx/nl))
> +             $(call ptx/image-install, BAREBOX_@PACKAGE@, $(image), \
> +                     $(notdir $(image))-@package@)$(ptx/nl))
>       @$(call touch)
>  
> -# 
> ----------------------------------------------------------------------------
> -# Clean
> -# 
> ----------------------------------------------------------------------------
> -
> -$(STATEDIR)/barebox-@[email protected]:
> -     @$(call targetinfo)
> -     @$(call clean_pkg, BAREBOX_@PACKAGE@)
> -     @$(foreach image, $(BAREBOX_@PACKAGE@_IMAGES), \
> -             rm -fv $(IMAGEDIR)/$(notdir $(image))-@package@$(ptx/nl))
> -
>  # 
> ----------------------------------------------------------------------------
>  # oldconfig / menuconfig
>  # 
> ----------------------------------------------------------------------------

Reply via email to