[SoC common] : [build] : Add rodata statistics [2/2]

PD#SWPL-166817

Problem:
Fixed the calculate ram size error for gcc with rodata.

Solution:
Add the ARCH env variable to calculate the code size in script.

Verify:
N/A

Change-Id: I9feba2b4846b9e4381905a78f748f82322a328de
Signed-off-by: xiaohu.huang <xiaohu.huang@amlogic.com>
1 file changed
tree: e2bade41eed3991073ec640309670bdbef9c9519
  1. cmake/
  2. key/
  3. .gitignore
  4. Makefile
  5. symtable.mk
  6. xip.mk