Add scan-build support to the build system.
authorPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 14 Mar 2010 21:25:03 +0000 (21:25 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 14 Mar 2010 21:25:03 +0000 (21:25 +0000)
commit020f51fdc0c54c8dcb115de611d48946695b155d
tree31eaaef17f69842cccc00c2a60a37539cb0074b4
parent8702ab5ab1ee3e9f4f4d6edd7cec85ed6029aac8
Add scan-build support to the build system.
When configured in Kconfig, just running "make"
calls scan-build as appropriate (however, it does not
check for the presence of scan-build)

The target directory for the scan-build report is configurable
and defaults to the scan-build default of /tmp/scan-build-$date-$num

abuild is adapted to properly run scanbuild when ran
with the -sb option.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5208 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Makefile
src/Kconfig
src/arch/i386/Makefile.inc
src/cpu/x86/smm/Makefile.inc
util/abuild/abuild