/[Development]
ViewVC logotype

Revision 3996


Jump to revision: Previous Next
Author: stepan
Date: Wed Mar 11 15:43:02 2009 UTC (4 years, 2 months ago)
Changed paths: 1
Log Message:
20090310-3-scanbuild:
Add support for clang's scan-build utility to abuild. scan-build wraps
the compiler and runs its own compiler on the same sources to do some
static analysis on them. It adds an option "-sb" or "--scan-build" that
creates a coreboot-builds/$target-scanbuild directory for every $target,
containing the output of scan-build, which is a HTML documentation on
its results.
Be aware, that scanbuild significantly increases build time: A board
that takes 6-7 seconds normally requires 60 seconds with that option
enabled on my test system.
The patch also moves the stack-protector option down a bit, so it
applies to crosscompiled targets, too (which overwrote the compiler
settings before)

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



Changed paths

Path Details
Directorytrunk/coreboot-v2/util/abuild/abuild modified , text changed

Stefan Reinauer">Stefan Reinauer
ViewVC Help
Powered by ViewVC 1.1.15