summaryrefslogtreecommitdiff
path: root/src/arch/posix
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-09-07 10:42:43 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-09-07 10:42:43 +0200
commit315f0744b249cf483b9ce9a318066d2a54e21c25 (patch)
treeaf4efd2ca27e9545de4678f9abf021c0a6bfbdc9 /src/arch/posix
parentdd4cb31da6c7768dea7a62057057d5cd0f2bf8e2 (diff)
add machine-readable binary size output ("make attributes")
Diffstat (limited to 'src/arch/posix')
-rw-r--r--src/arch/posix/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
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