summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-04-22 12:10:06 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-04-28 18:06:45 +0200
commit804c13982a2373222708ee7788066ee97bd52e3e (patch)
tree9028095c4a8e370dd4b6ab922bcb06e988aab264 /src/arch/arm
parent6f5b18c03b9fb1803013b535dfc20132c3a27f95 (diff)
downloadcoreboot-804c13982a2373222708ee7788066ee97bd52e3e.tar.xz
arm: guard verstage rules
Do not unconditially supply verstage rules for all platforms. Change-Id: Ic0713350aa21a9966fca828211750d25c2b6b71d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9969 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm/Makefile.inc b/src/arch/arm/Makefile.inc
index c6c38d58da..272a495681 100644
--- a/src/arch/arm/Makefile.inc
+++ b/src/arch/arm/Makefile.inc
@@ -73,6 +73,8 @@ endif # CONFIG_ARCH_BOOTBLOCK_ARM
# verification stage
###############################################################################
+ifeq ($(CONFIG_ARCH_VERSTAGE_ARM),y)
+
$(objcbfs)/verstage.debug: $(objgenerated)/libverstage.a $(obj)/mainboard/$(MAINBOARDDIR)/memlayout.verstage.ld
@printf " LINK $(subst $(obj)/,,$(@))\n"
$(LD_verstage) --gc-sections -static -o $@ -L$(obj) -T $(obj)/mainboard/$(MAINBOARDDIR)/memlayout.verstage.ld --start-group $(objgenerated)/libverstage.a --end-group
@@ -84,6 +86,8 @@ verstage-y += memcpy.S
verstage-y += memmove.S
verstage-y += stages.c
+endif # CONFIG_ARCH_VERSTAGE_ARM
+
###############################################################################
# romstage
###############################################################################