Idwer Vollering (vidwer@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9159
-gerrit
commit e97c7eb42b30173b2d85986d38793f08840bfd12 Author: Idwer Vollering vidwer@gmail.com Date: Mon Mar 30 00:17:16 2015 +0200
build system: add .xcompile to coreboot.rom
Change-Id: I20407d3a5d3432bc7c2c20d0d6cdd88205f09177 Signed-off-by: Idwer Vollering vidwer@gmail.com --- Makefile.inc | 4 ++++ src/Kconfig | 4 ++++ 2 files changed, 8 insertions(+)
diff --git a/Makefile.inc b/Makefile.inc index 838a680..9627048 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -577,6 +577,10 @@ ifeq ($(CONFIG_INCLUDE_CONFIG_FILE),y) @printf " REVISION build.h\n" if [ -f $(obj)/build.h ]; then $(CBFSTOOL) $@.tmp add -f $(obj)/build.h -n revision -t raw; fi endif +ifeq ($(CONFIG_INCLUDE_XCOMPILE_FILE),y) + @printf " CONFIG $(DOTXCOMPILE)\n" + if [ -f $(DOTXCOMPILE) ]; then $(CBFSTOOL) $@.tmp add -f $(top)/.xcompile -n xcompile -t raw; fi +endif ifeq ($(CONFIG_VBOOT_VERIFY_FIRMWARE),y) $(CBFSTOOL) $@.tmp add-stage -f $(VBOOT_STUB) -n $(CONFIG_CBFS_PREFIX)/vboot -c $(CBFS_COMPRESS_FLAG) endif diff --git a/src/Kconfig b/src/Kconfig index 7aee478..ceb89de 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -88,6 +88,10 @@ config ANY_TOOLCHAIN we'll have to assume that they use their distro compiler by mistake. Make sure that using patched compilers is a conscious decision.
+config INCLUDE_XCOMPILE_FILE + bool "Include the coreboot .xcompile file into the ROM image" + default y + config CCACHE bool "Use ccache to speed up (re)compilation" default n