[coreboot-gerrit] Patch merged into coreboot/master: 55cdc16 Provide a way to compile some files with -O0 option

gerrit at coreboot.org gerrit at coreboot.org
Thu Oct 2 21:37:04 CEST 2014


the following patch was just integrated into master:
commit 55cdc160bbe1827e8ab1a2370ab1ebb0162e9768
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Tue Apr 22 17:06:43 2014 -0700

    Provide a way to compile some files with -O0 option
    
    When preparing an image for source level debugging, it is convenient
    to be able to compile some modules with -O0, which makes it much
    easier to follow the execution flow.
    
    This patch allows to do it by defining GDB_DEBUG=1 in the environment
    before invoking make. Adding this feature as a common config flag is
    problematic, because we don't want to compile the entire image with
    -O0.
    
    Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/196359
    (cherry picked from commit dde4928c045d12e502cb109015a710cd9fdf2a04)
    
    Changed from CFLAGS to CFLAGS_common.
    
    Change-Id: Ie0be653509509eeb64ea3a7229f54c0c812840a9
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
    Reviewed-on: http://review.coreboot.org/7005
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <patrick at georgi-clan.de>


See http://review.coreboot.org/7005 for details.

-gerrit



More information about the coreboot-gerrit mailing list