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>
This commit is contained in:
parent
6f5b18c03b
commit
804c13982a
|
@ -73,6 +73,8 @@ endif # CONFIG_ARCH_BOOTBLOCK_ARM
|
||||||
# verification stage
|
# verification stage
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_VERSTAGE_ARM),y)
|
||||||
|
|
||||||
$(objcbfs)/verstage.debug: $(objgenerated)/libverstage.a $(obj)/mainboard/$(MAINBOARDDIR)/memlayout.verstage.ld
|
$(objcbfs)/verstage.debug: $(objgenerated)/libverstage.a $(obj)/mainboard/$(MAINBOARDDIR)/memlayout.verstage.ld
|
||||||
@printf " LINK $(subst $(obj)/,,$(@))\n"
|
@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
|
$(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 += memmove.S
|
||||||
verstage-y += stages.c
|
verstage-y += stages.c
|
||||||
|
|
||||||
|
endif # CONFIG_ARCH_VERSTAGE_ARM
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# romstage
|
# romstage
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in New Issue