From 804c13982a2373222708ee7788066ee97bd52e3e Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 22 Apr 2015 12:10:06 -0500 Subject: [PATCH] arm: guard verstage rules Do not unconditially supply verstage rules for all platforms. Change-Id: Ic0713350aa21a9966fca828211750d25c2b6b71d Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/9969 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- src/arch/arm/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) 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 ###############################################################################