diff mbox series

[v3,1/6] Makefile: clean image.map

Message ID 20190507185215.15441-2-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
binman tools for creating single image build will create image.map
at the end, which has information about binman image node details.

current u-boot, is unable to clean this image.map so add a command
entry in clean target in Makefile.

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

Comments

Kever Yang May 8, 2019, 7:04 a.m. UTC | #1
On 05/08/2019 02:52 AM, Jagan Teki wrote:
> binman tools for creating single image build will create image.map
> at the end, which has information about binman image node details.
>
> current u-boot, is unable to clean this image.map so add a command
> entry in clean target in Makefile.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

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

Thanks,
- Kever
> ---
>  Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index d6a6ef19ab..de11446ed3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1813,7 +1813,8 @@ clean: $(clean-dirs)
>  		-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' \) \
> -		-type f -print | xargs rm -f
> +		-type f -print | xargs rm -f \
> +		image.map
>  
>  # mrproper - Delete all generated files, including .config
>  #
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index d6a6ef19ab..de11446ed3 100644
--- a/Makefile
+++ b/Makefile
@@ -1813,7 +1813,8 @@  clean: $(clean-dirs)
 		-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' \) \
-		-type f -print | xargs rm -f
+		-type f -print | xargs rm -f \
+		image.map
 
 # mrproper - Delete all generated files, including .config
 #