abuild: pass compiler configuration options to tool building step
This is required to run abuild parallely with clang without the canonical coreboot toolchain installed. Change-Id: Iea56d3f552d50ab6e762afa134091b0d8e38792c Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/7369 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
committed by
Edward O'Callaghan
parent
fac95e3bfe
commit
c32b4a40d2
@ -573,7 +573,7 @@ build_all_targets()
|
|||||||
rm -rf ${scanbuild_out}
|
rm -rf ${scanbuild_out}
|
||||||
BUILDPREFIX="scan-build -o ${scanbuild_out}tmp"
|
BUILDPREFIX="scan-build -o ${scanbuild_out}tmp"
|
||||||
fi
|
fi
|
||||||
$BUILDPREFIX $MAKE -j $cpus DOTCONFIG=$TMPCFG obj=$TARGET/temp objutil=$TARGET/sharedutils tools || exit 1
|
$BUILDPREFIX $MAKE -j $cpus DOTCONFIG=$TMPCFG obj=$TARGET/temp objutil=$TARGET/sharedutils `printf $configoptions` tools || exit 1
|
||||||
if [ "$scanbuild" = "true" ]; then
|
if [ "$scanbuild" = "true" ]; then
|
||||||
mv ${scanbuild_out}tmp/* ${scanbuild_out}
|
mv ${scanbuild_out}tmp/* ${scanbuild_out}
|
||||||
rmdir ${scanbuild_out}tmp
|
rmdir ${scanbuild_out}tmp
|
||||||
|
Reference in New Issue
Block a user