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:
parent
cb718016c1
commit
9b6b8f53f4
1
make.sh
1
make.sh
|
|
@ -456,6 +456,7 @@ function sub_commands()
|
||||||
case ${CMD} in
|
case ${CMD} in
|
||||||
elf|nm)
|
elf|nm)
|
||||||
if [ "${CMD}" == "nm" ]; then
|
if [ "${CMD}" == "nm" ]; then
|
||||||
|
echo -e "\n${ELF}: file format elf\n"
|
||||||
${TOOLCHAIN_NM} -r --size ${ELF} | less
|
${TOOLCHAIN_NM} -r --size ${ELF} | less
|
||||||
else
|
else
|
||||||
if [ "${CMD}" == "elf" -a "${ARG}" == "elf" ]; then
|
if [ "${CMD}" == "elf" -a "${ARG}" == "elf" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue