UPSTREAM: util/checklist: Process .debug files before .elf files

Ensure that the output file is created by processing the .debug files
before the .elf files.

TEST=Build and run on Galileo Gen2

BUG=None
BRANCH=None

Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/16041
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: Ief8d774249c9d8eb313f3d10f04d7e4f2e3cf491
Reviewed-on: https://chromium-review.googlesource.com/368022
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Lee Leahy 2016-08-02 17:40:11 -07:00 committed by chrome-bot
commit c5908c049e

View file

@ -59,8 +59,8 @@ ifeq ($(CONFIG_CREATE_BOARD_CHECKLIST),y)
# Extract the symbol table from the image
#
%.symbol_table: %.elf %.debug
$(NM_$(class)) $< > $@
$(NM_$(class)) $(*D)/$(*F).debug >> $@
$(NM_$(class)) $(*D)/$(*F).debug > $@
$(NM_$(class)) $< >> $@
#
# All symbols in the image