mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: use $(OBJDUMP) and $(OBJDUMPFLAGS) in the main objdump target too.
This commit is contained in:
parent
ce71e53d74
commit
332d8c7818
@ -316,12 +316,15 @@ reset:
|
|||||||
exit 1; }
|
exit 1; }
|
||||||
$(RESET) $(RESET_FLAGS)
|
$(RESET) $(RESET_FLAGS)
|
||||||
|
|
||||||
|
# Default OBJDUMPFLAGS for platforms which do not specify it:
|
||||||
|
OBJDUMPFLAGS ?= -S -D -h
|
||||||
|
|
||||||
objdump:
|
objdump:
|
||||||
$(AD)command -v $(PREFIX)objdump >/dev/null 2>&1 || \
|
$(AD)command -v $(OBJDUMP) >/dev/null 2>&1 || \
|
||||||
{ $(COLOR_ECHO) \
|
{ $(COLOR_ECHO) \
|
||||||
'${COLOR_RED} Objdump program $(PREFIX)objdump not found. Aborting.${COLOR_RESET}'; \
|
'${COLOR_RED} Objdump program $(OBJDUMP) not found. Aborting.${COLOR_RESET}'; \
|
||||||
exit 1; }
|
exit 1; }
|
||||||
$(PREFIX)objdump -S -D -h $(ELFFILE) | less
|
$(OBJDUMP) $(OBJDUMPFLAGS) $(ELFFILE) | less
|
||||||
|
|
||||||
# Generate an XML file containing all macro definitions and include paths for
|
# Generate an XML file containing all macro definitions and include paths for
|
||||||
# use in Eclipse CDT
|
# use in Eclipse CDT
|
||||||
|
Loading…
Reference in New Issue
Block a user