summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-06-15 16:52:16 -0400
committerTom Stellard <[email protected]>2012-06-22 16:59:24 -0400
commitea76f0331011337cc4b7caac8f25947501a5aef9 (patch)
tree271475eae4324c6518788a48e99e0fbc953380d0 /SConstruct
parent82d25963a838cfebdeb9b080169979329ee850ea (diff)
clover: Add --with-clang-libdir option and verify CLANG_RESOURCE_DIR
$CLANG_RESOURCE_DIR is the directory that contains all resources needed by clang to compile programs. When clover uses clang to compile kernels it needs to specify a resource dir, so that clang can find its internal headers (e.g. stddef.h). clang defines $CLANG_RESOURCE_DIR as $CLANG_LIBDIR/clang/$CLANG_VERSION This patch adds the --with-clang-libdir option in order to accommodate clang intalls to non-standard locations, and it also adds a check to the configure script to verify that $CLANG_RESOURCE_DIR/include contains the necessary header files.
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions