[coreboot-gerrit] Change in coreboot[master]: toolchain: Add POSTCAR as a stage we have a toolchain for

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Thu Nov 8 08:41:36 CET 2018


Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/29395 )

Change subject: toolchain: Add POSTCAR as a stage we have a toolchain for
......................................................................

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 at google.com>
Reviewed-on: https://review.coreboot.org/29395
Reviewed-by: Julius Werner <jwerner at chromium.org>
Reviewed-by: Werner Zeh <werner.zeh at siemens.com>
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
---
M src/arch/x86/Kconfig
M src/arch/x86/Makefile.inc
2 files changed, 12 insertions(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Werner Zeh: Looks good to me, approved
  Julius Werner: Looks good to me, approved



diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index ff26a15..7c8371e 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -35,6 +35,10 @@
 	bool
 	default n
 
+config ARCH_POSTCAR_X86_32
+	bool
+	default ARCH_ROMSTAGE_X86_32 && POSTCAR_STAGE
+
 config ARCH_RAMSTAGE_X86_32
 	bool
 	default n
@@ -55,6 +59,10 @@
 	bool
 	default n
 
+config ARCH_POSTCAR_X86_64
+	bool
+	default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE
+
 config ARCH_RAMSTAGE_X86_64
 	bool
 	default n
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 730bc83..fcc57c5 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -16,6 +16,10 @@
 ## GNU General Public License for more details.
 ##
 
+ifeq ($(CONFIG_POSTCAR_STAGE),y)
+$(eval $(call init_standard_toolchain,postcar))
+endif
+
 ################################################################################
 # i386 specific tools
 NVRAMTOOL:=$(objutil)/nvramtool/nvramtool

-- 
To view, visit https://review.coreboot.org/29395
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib92436bc7270c24689dcf01a47f0c6fe7661814b
Gerrit-Change-Number: 29395
Gerrit-PatchSet: 5
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Julius Werner <jwerner at chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh at siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-CC: Aaron Durbin <adurbin at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181108/e4fe76ea/attachment.html>


More information about the coreboot-gerrit mailing list