summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-03-08 15:18:24 -0700
committerMartin L Roth <gaumless@gmail.com>2023-03-15 19:36:38 +0000
commit0acf59d10cd9691a2acc8ab488324b684739d99f (patch)
tree81c56d2707fe20147adf6e4b48682613e9002d10 /src/soc/amd/common
parent44217215e7978ea37a40cd8620d332e7c0858e65 (diff)
soc/amd: Print amdfwtool debug info if V=1
When doing coreboot builds, we can set V=1 to see all of the make info printed as the compile is happening. Use this flag to set the debug flag for amdfwtool so it doesn't have to be enabled separately. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I5b05cbc9f9b540a174db479822af657cf35733de Reviewed-on: https://review.coreboot.org/c/coreboot/+/73658 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc
index 66fbd2636c..9f45513546 100644
--- a/src/soc/amd/common/Makefile.inc
+++ b/src/soc/amd/common/Makefile.inc
@@ -5,6 +5,10 @@ subdirs-y += fsp
subdirs-y += pi
subdirs-y += vboot
+ifneq ($(V),)
+OPT_DEBUG_AMDFWTOOL = --debug
+endif
+
ifneq ($(CONFIG_AMDFW_CONFIG_FILE), )
FIRMWARE_LOCATION=$(shell grep -e FIRMWARE_LOCATION $(CONFIG_AMDFW_CONFIG_FILE) | awk '{print $$2}')