Mesa: update gallium llvm support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-04 13:10:53 +02:00
parent e77c28d1ee
commit 619efec11c
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,9 @@ get_graphicdrivers
if [ "$LLVM_SUPPORT" = "yes" ]; then
export LLVM_CONFIG="$SYSROOT_PREFIX/usr/bin/llvm-config"
MESA_GALLIUM_LLVM="--enable-gallium-llvm"
else
MESA_GALLIUM_LLVM="--disable-gallium-llvm"
fi
cd $PKG_BUILD
@ -60,6 +63,7 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
--disable-glw \
--disable-motif \
--with-gallium-drivers="$GALLIUM_DRIVERS" \
$MESA_GALLIUM_LLVM \
--with-driver="dri" \
--with-dri-drivers="$DRI_DRIVERS" \
--with-xorg-driver-dir="$XORG_PATH_DRIVERS" \

View File

@ -40,5 +40,6 @@ get_graphicdrivers
if [ "$LLVM_SUPPORT" = "yes" ]; then
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS llvm"
PKG_DEPENDS="$PKG_DEPENDS llvm"
# actually we dont need llvm installed because its linked statically
# PKG_DEPENDS="$PKG_DEPENDS llvm"
fi