[coreboot-gerrit] Patch merged into coreboot/master: nvramcui: Update Makefile

gerrit at coreboot.org gerrit at coreboot.org
Wed Jun 29 19:12:59 CEST 2016


the following patch was just integrated into master:
commit 9d8b2ffb4978e4d87f85d6b7b92433594d95b0aa
Author: Martin Roth <martinroth at google.com>
Date:   Sat Apr 23 17:19:41 2016 -0600

    nvramcui: Update Makefile
    
    - Add all, clean and distclean to .PHONY
    - Rebuild nvramcui.elf when the makefile changes.
    - Update libpayload target to $(LIBPAYLOAD_DIR) target - these are the
    same thing, but by using the variable it makes it more obvious.
    - Remove .config.old as well as .config when running distclean.
    - Add CFLAGS to the LPGCC command line:
    -- Enable all warnings, set warnings as errors.
    -- Optimize for size
    -- Enable '-ffreestanding -nostdinc -nostdlib' to keep from building in
    system functions and to fix the warning:
    libpayload.h: warning: conflicting types for built-in function 'log2'
    static inline int log2(u32 x) { return sizeof(x) * 8 - clz(x) - 1; }
    
    Change-Id: Icc6c70b259cd7c22dc960cdb732927f9c0c93ee8
    Signed-off-by: Martin Roth <martinroth at google.com>
    Reviewed-on: https://review.coreboot.org/14482
    Tested-by: build bot (Jenkins)
    Reviewed-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list