[coreboot] New patch to review for coreboot: 9e92ed6 Fix broken scan-build

Martin Roth (martin@se-eng.com) gerrit at coreboot.org
Fri Dec 14 20:51:57 CET 2012


Martin Roth (martin at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2031

-gerrit

commit 9e92ed6afee03ca80c1a5c75ff19b9236ca0deae
Author: Martin Roth <martin at se-eng.com>
Date:   Fri Dec 14 12:42:28 2012 -0700

    Fix broken scan-build
    
    Adding support for the multiple architectures broke the scan-build
    option.  The new CC setting needed to be wrapped and not run again
    when doing the scan-build second pass.
    
    Change-Id: Ieb418f51d44803308040926a4154fb5fdc3ba67f
    Signed-off-by: Martin Roth <martin at se-eng.com>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 3c537a5..527fbcc 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,9 @@ ARCH-y := $(ARCHDIR-y)
 ARCH-$(CONFIG_ARCH_ARMV7)   := armv7
 ARCH-$(CONFIG_ARCH_X86)     := i386
 
+ifneq ($(INNER_SCANBUILD),y)
 CC := $(CC_$(ARCH-y))
+endif
 AS := $(AS_$(ARCH-y))
 LD := $(LD_$(ARCH-y))
 NM := $(NM_$(ARCH-y))



More information about the coreboot mailing list