make.sh: show elf source of nm command

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I632ee35b42326516a0611878899335d338011e32
This commit is contained in:
Joseph Chen 2020-10-17 09:27:36 +08:00 committed by Jianhong Chen
parent cb718016c1
commit 9b6b8f53f4
1 changed files with 1 additions and 0 deletions

View File

@ -456,6 +456,7 @@ function sub_commands()
case ${CMD} in
elf|nm)
if [ "${CMD}" == "nm" ]; then
echo -e "\n${ELF}: file format elf\n"
${TOOLCHAIN_NM} -r --size ${ELF} | less
else
if [ "${CMD}" == "elf" -a "${ARG}" == "elf" ]; then