summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2019-04-24 16:26:17 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-26 00:17:43 -0700
commitc8d62579f7ba8a774f0bf91feafd7a8986991511 (patch)
tree8f52e421a106d108d22a5dd43d344281089c75ec /Makefile.rules
parent663e0baf89e661020ad640d2691177c95abae815 (diff)
downloadchrome-ec-c8d62579f7ba8a774f0bf91feafd7a8986991511.tar.gz
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 <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1582456 Reviewed-by: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 2 insertions, 1 deletions
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