summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-03-02 13:01:58 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-03-07 00:43:20 +0100
commita405a5860d2765911fe7655e81c78e3b563bacab (patch)
treecb022deb343d2ed0942b1137ea427fd39b0c66cb /src/vendorcode/amd
parent6cbd3980aba050352b09c818ffabe822411c1901 (diff)
Stage rules.h: Add ENV_LIBAGESA
Definition is required to enable use of printk() from AGESA proper. Change-Id: I6666a003c91794490f670802d496321ffb965cd3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/18544 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r--src/vendorcode/amd/agesa/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vendorcode/amd/agesa/Makefile.inc b/src/vendorcode/amd/agesa/Makefile.inc
index fab6f63613..f2423d0718 100644
--- a/src/vendorcode/amd/agesa/Makefile.inc
+++ b/src/vendorcode/amd/agesa/Makefile.inc
@@ -12,6 +12,7 @@ subdirs-y += common
classes-y += libagesa
libagesa-y =
+libagesa-generic-ccopts += -D__LIBAGESA__
ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32),y)
$(eval $(call create_class_compiler,libagesa,x86_32))