build_system: Add module size info statistics function [1/2]

PD#SWPL-90928

Problem:
Integrated the statistic module size into to compile flow for riscv and arm.

Solution:
Integrated the statistic module size into to compile flow for riscv and arm.

Verify:
N/A

Change-Id: Ieee2bbf1d48775b32696a7e07292f7fb056e8d8e
Signed-off-by: xiaohu.huang <xiaohu.huang@amlogic.com>
2 files changed