diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-03-11 15:43:02 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-03-11 15:43:02 +0000 |
commit | d229677b6191868661676658d84d7325d8f69f23 (patch) | |
tree | b8d16f022f406bfc817229af8d63a927e23df41d /src | |
parent | 118c1005ed11cab83fcb5c3b0958b72535b7866b (diff) | |
download | coreboot-d229677b6191868661676658d84d7325d8f69f23.tar.xz |
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3996 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions