cspec kernel.mk: always use TOOLPREFIX for objdump

Some development environments set an environment variable OBJDUMP by
default. With the previous version of kernel.mk, decompilation used the
objdump indicated by that OBJDUMP variable. This could cause
decompilation to fail if OBJDUMP did not match the TOOLPREFIX used for
compilation.

Since we don't currently have a need to specify a different objdump, we
remove the ability to override via the OBJDUMP environment variable.
With this commit, we always use TOOLPREFIX to locate a suitable objdump.

Signed-off-by: Matthew Brecknell <matt@kry10.com>
This commit is contained in:
Matthew Brecknell 2022-03-17 08:24:19 +11:00 committed by Matthew Brecknell
parent 6673bf03d4
commit 8c68e549d0
1 changed files with 1 additions and 3 deletions

View File

@ -49,9 +49,7 @@ ifndef TOOLPREFIX
endif
endif
ifndef OBJDUMP
OBJDUMP := ${TOOLPREFIX}objdump
endif
OBJDUMP := ${TOOLPREFIX}objdump
ifndef UMM_TYPES
UMM_TYPES := ${KERNEL_BUILD_ROOT}/umm_types.txt