From c5908c049e7b0e3169c135ec3d3d0a7df4c6c2ee Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 2 Aug 2016 17:40:11 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/16041 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Change-Id: Ief8d774249c9d8eb313f3d10f04d7e4f2e3cf491 Reviewed-on: https://chromium-review.googlesource.com/368022 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- util/checklist/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/checklist/Makefile.inc b/util/checklist/Makefile.inc index be872b0118..a96f252ae6 100644 --- a/util/checklist/Makefile.inc +++ b/util/checklist/Makefile.inc @@ -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