From c8d62579f7ba8a774f0bf91feafd7a8986991511 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Wed, 24 Apr 2019 16:26:17 -0700 Subject: makefile: fix image stats reporting problems Recently merged patch (34cc1f91c) introduced printing of free space stats for both RO and RW images, without actually describing which image the message applies to. This change adds this additional description. BRANCH=none BUG=none TEST=built a cr50 image: $ make BOARD=cr50 -j ... *** 8148 bytes in flash ... still available on cr50 RO **** *** 8880 bytes in flash ... still available on cr50 RW **** Change-Id: Ib7d5890c94ea93906d8f6a7a7c95819c47ffab8a Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/1582456 Reviewed-by: Mary Ruthven Reviewed-by: Daisuke Nojiri --- Makefile.rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.rules') diff --git a/Makefile.rules b/Makefile.rules index 787e4e7b5d..a45e9ad981 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -351,7 +351,8 @@ cmd_size=$(Q)awk '\ print room_free > "$(out)/$(1)/space_free_flash.txt"; \ printf ("%s bytes in flash and ", room_free);\ } \ - printf ("%s bytes in RAM still available on $(BOARD) ****\n", ram_free) \ + printf ("%s bytes in RAM still available on $(BOARD) $(1) ****\n", \ + ram_free) \ }' $(out)/$(1)/$(PROJECT).$(1).map endif -- cgit v1.2.1