toolchain: Add POSTCAR as a stage we have a toolchain for
Fixes building vb2lib for postcar. Since postcar is an x86ism, add the Kconfig options only for x86. Change-Id: Ib92436bc7270c24689dcf01a47f0c6fe7661814b Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/29395 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
4cec6b6d93
commit
29eeeceb2d
|
@ -35,6 +35,10 @@ config ARCH_ROMSTAGE_X86_32
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config ARCH_POSTCAR_X86_32
|
||||||
|
bool
|
||||||
|
default ARCH_ROMSTAGE_X86_32 && POSTCAR_STAGE
|
||||||
|
|
||||||
config ARCH_RAMSTAGE_X86_32
|
config ARCH_RAMSTAGE_X86_32
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
@ -55,6 +59,10 @@ config ARCH_ROMSTAGE_X86_64
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config ARCH_POSTCAR_X86_64
|
||||||
|
bool
|
||||||
|
default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE
|
||||||
|
|
||||||
config ARCH_RAMSTAGE_X86_64
|
config ARCH_RAMSTAGE_X86_64
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
|
@ -16,6 +16,10 @@
|
||||||
## GNU General Public License for more details.
|
## GNU General Public License for more details.
|
||||||
##
|
##
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_POSTCAR_STAGE),y)
|
||||||
|
$(eval $(call init_standard_toolchain,postcar))
|
||||||
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# i386 specific tools
|
# i386 specific tools
|
||||||
NVRAMTOOL:=$(objutil)/nvramtool/nvramtool
|
NVRAMTOOL:=$(objutil)/nvramtool/nvramtool
|
||||||
|
|
Loading…
Reference in New Issue