diff options
author | Martin Roth <martin@se-eng.com> | 2012-12-14 12:42:28 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-12-14 22:21:10 +0100 |
commit | 9aaf7d17bbb8140ad9091d2435bdffa0d241fb56 (patch) | |
tree | b70f4d162cc2df1aed184eff7c7c81265e90f4f5 /Makefile | |
parent | bb71c91db18ce60a6589ff563c1a23d8dd1e7e7f (diff) | |
download | coreboot-9aaf7d17bbb8140ad9091d2435bdffa0d241fb56.tar.xz |
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@se-eng.com>
Reviewed-on: http://review.coreboot.org/2031
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |