Print BSS and RAM4 totals at the end of make. (#3527)

If java is unable to run, don't error out the Makefile, just complain a little and move on.  Until
the gcc_map_reader actually works with RAM4, we print it manually.
This commit is contained in:
Scott Smith 2021-11-11 08:51:35 -08:00 committed by GitHub
parent 32d3d5fc67
commit 4af2722658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -409,3 +409,7 @@ openblt_clean:
# Enable precompiled header
include rusefi_pch.mk
POST_MAKE_ALL_RULE_HOOK: $(BUILDDIR)/$(PROJECT).elf
@java -jar ../java_tools/gcc_map_reader.jar $(BUILDDIR)/$(PROJECT).map | grep Total || echo Unable to run gcc_map_reader
@$(TRGT)objdump -h $(BUILDDIR)/$(PROJECT).elf | grep -w ram4