summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-06-05 18:49:55 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-06-09 17:43:53 +0200
commit7a29cdcc0f4ac662dd5f98f075fba2079e42bff0 (patch)
treed93f16572529bd95823671885c38564d9593a01b /src
parent3892597349cdbdf5378718ceb03dbbc53f5d543a (diff)
downloadcoreboot-7a29cdcc0f4ac662dd5f98f075fba2079e42bff0.tar.xz
lib: Build reg_script for bootblock
Allow reg_script to be used during the bootblock. TEST=Build and run on Galileo Gen2 Change-Id: I55fe0be3f50116927b801ce67a3f23bb1931f6e7 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15131 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/lib/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index b446e10a35..49720a71e6 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -146,6 +146,7 @@ bootblock-y += hexdump.c
ramstage-y += hexdump.c
romstage-y += hexdump.c
+bootblock-$(CONFIG_REG_SCRIPT) += reg_script.c
verstage-$(CONFIG_REG_SCRIPT) += reg_script.c
romstage-$(CONFIG_REG_SCRIPT) += reg_script.c
ramstage-$(CONFIG_REG_SCRIPT) += reg_script.c