diff mbox series

[v3,2/6] Makefile: clean bl31_*.bin

Message ID 20190507185215.15441-3-jagan@amarulasolutions.com (mailing list archive)
State New, archived
Headers show
Series rockchip: rk3399: Make u-boot.itb as BUILD_TARGET | expand

Commit Message

Jagan Teki May 7, 2019, 6:52 p.m. UTC
Rockchip platform has its python script that would generate various
bl31_*bin for creating u-boot.itb file by taking bl31.elf as input.

These bl31_*.bin files are generated in u-boot root directory and
have no rule to clean it up. so add support for it by adding in
command entry of clean target in Makefile.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kever Yang May 8, 2019, 7:04 a.m. UTC | #1
On 05/08/2019 02:52 AM, Jagan Teki wrote:
> Rockchip platform has its python script that would generate various
> bl31_*bin for creating u-boot.itb file by taking bl31.elf as input.
>
> These bl31_*.bin files are generated in u-boot root directory and
> have no rule to clean it up. so add support for it by adding in
> command entry of clean target in Makefile.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index de11446ed3..64c7976f7e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1814,7 +1814,7 @@ clean: $(clean-dirs)
>  		-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
>  		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
>  		-type f -print | xargs rm -f \
> -		image.map
> +		bl31_*.bin image.map
>  
>  # mrproper - Delete all generated files, including .config
>  #
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index de11446ed3..64c7976f7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1814,7 +1814,7 @@  clean: $(clean-dirs)
 		-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
 		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
 		-type f -print | xargs rm -f \
-		image.map
+		bl31_*.bin image.map
 
 # mrproper - Delete all generated files, including .config
 #