[coreboot-gerrit] Patch merged into coreboot/master: build_system: Extend site-local

gerrit at coreboot.org gerrit at coreboot.org
Wed Feb 3 15:45:18 CET 2016


the following patch was just integrated into master:
commit b09a5696a6292b14e5d6eaa00f6ed7f6c748368a
Author: Martin Roth <martinroth at google.com>
Date:   Sun Jan 24 19:38:33 2016 -0700

    build_system: Extend site-local
    
    - Add a target at the end of the build that can be used to run additional
    scripts or additional targets after coreboot.rom is built.
    - Source a site-local Kconfig file to allow site-specific configuration.
    
    This eliminates the need to add a hook for a script at the end of the
    build because you can add one yourself in site-local.
    
    Example site-local/Makefile.inc:
    
    build_complete::
    ifeq ($(CONFIG_SITE_LOCAL),y)
    	echo "Running additional steps in site-local"
    	# run some script here to make my build unreproducible.
    endif
    
    .phony: build_complete
    
    Example site-local/Kconfig:
    
    menu "site-local"
    
    config SITE_LOCAL
    	bool "site-local enabled"
    	help
    	  Enable my site-local configuration to do stuff.
    
    endmenu
    
    Change-Id: Id4d1e727c69b5cdb05e7d52731bbb1d1e201864a
    Signed-off-by: Martin Roth <martinroth at google.com>
    Reviewed-on: https://review.coreboot.org/13413
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>
    Tested-by: build bot (Jenkins)


See https://review.coreboot.org/13413 for details.

-gerrit



More information about the coreboot-gerrit mailing list