From 315f0744b249cf483b9ce9a318066d2a54e21c25 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 7 Sep 2020 10:42:43 +0200 Subject: add machine-readable binary size output ("make attributes") --- src/arch/posix/Makefile.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/arch/posix') diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc index adbea7a..158d879 100644 --- a/src/arch/posix/Makefile.inc +++ b/src/arch/posix/Makefile.inc @@ -70,4 +70,7 @@ arch_info: @echo "Counter Overflow: 18446744073709551616/1" @echo "Monitor: run build/system.elf" -.PHONY: arch_clean arch_help arch_info monitor program run +attributes: build/system.elf + ${QUIET}script/size.py size text data,bss + +.PHONY: arch_clean arch_help arch_info attributes monitor program run -- cgit v1.2.3