[coreboot-gerrit] Patch merged into coreboot/master: b3594ab util/cbmem: Workaround for IS_ENABLED()

gerrit at coreboot.org gerrit at coreboot.org
Fri Jun 20 19:49:14 CEST 2014


the following patch was just integrated into master:
commit b3594ab4899aebf3883694fabe469a414dd9a799
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Jun 18 00:43:35 2014 +0300

    util/cbmem: Workaround for IS_ENABLED()
    
    Our include files reference CONFIG_xxx declarations, which we should
    ignore for utility build.
    
    We cannot include kconfig.h to get IS_ENABLED() as that file
    would require build/config.h and we do not want to enforce a build
    of the firmware to be able to build the utility.
    
    Since we do not include build/config.h each occurence of CONFIG_xxx
    in the included header files is undefined and will be treated as
    disabled.
    
    Change-Id: I74f1627fc3f294410db8ce486ab553dac9e967f4
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
    Reviewed-on: http://review.coreboot.org/6066
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <patrick at georgi-clan.de>


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

-gerrit



More information about the coreboot-gerrit mailing list