Start adding vmware support

This commit is contained in:
Jean-André Santoni 2015-12-03 20:02:28 +01:00
parent b81acfe048
commit 272ccb6471
4 changed files with 17 additions and 6 deletions

View File

@ -56,6 +56,11 @@ get_graphicdrivers() {
COMPOSITE_SUPPORT="yes" COMPOSITE_SUPPORT="yes"
fi fi
if [ "$drv" = "vmware" ]; then
DRI_DRIVERS="$DRI_DRIVERS,swrast"
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
fi
if [ "$drv" = "nvidia" ]; then if [ "$drv" = "nvidia" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia" XORG_DRIVERS="$XORG_DRIVERS nvidia"
VDPAU_SUPPORT="yes" VDPAU_SUPPORT="yes"

View File

@ -162,7 +162,7 @@
# install legacy drivers to i386 ARCH # install legacy drivers to i386 ARCH
GRAPHIC_DRIVERS="r200 r300 r600 i915 i965 nouveau" GRAPHIC_DRIVERS="r200 r300 r600 i915 i965 nouveau"
elif [ "$TARGET_ARCH" = "x86_64" ]; then elif [ "$TARGET_ARCH" = "x86_64" ]; then
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nouveau" GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nouveau vmware"
fi fi
# build and install remote support (yes / no) # build and install remote support (yes / no)

View File

@ -49,6 +49,10 @@ for drv in $GRAPHIC_DRIVERS; do
[ "$drv" = "nouveau" ] && \ [ "$drv" = "nouveau" ] && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-libkms/enable-libkms/'` && \ DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-libkms/enable-libkms/'` && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-nouveau/enable-nouveau/'` DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-nouveau/enable-nouveau/'`
[ "$drv" = "vmware" ] && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-libkms/enable-libkms/'` && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-vmwgfx/enable-vmwgfx/'`
done done
PKG_CONFIGURE_OPTS_TARGET="--disable-udev \ PKG_CONFIGURE_OPTS_TARGET="--disable-udev \

View File

@ -1,6 +1,6 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.19.0 Kernel Configuration # Linux/x86_64 3.19.2 Kernel Configuration
# #
CONFIG_64BIT=y CONFIG_64BIT=y
CONFIG_X86_64=y CONFIG_X86_64=y
@ -64,8 +64,8 @@ CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_XZ=y CONFIG_KERNEL_XZ=y
# CONFIG_KERNEL_LZO is not set # CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set # CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="@DISTRONAME@" CONFIG_DEFAULT_HOSTNAME="Lakka"
CONFIG_SWAP=y # CONFIG_SWAP is not set
CONFIG_SYSVIPC=y CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE=y
@ -163,7 +163,7 @@ CONFIG_CGROUPS=y
# CONFIG_SYSFS_DEPRECATED is not set # CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RELAY=y CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=" " CONFIG_INITRAMFS_SOURCE="/home/kivutar/Lakka/build.Lakka-Generic.x86_64-devel/image/initramfs.cpio"
CONFIG_INITRAMFS_ROOT_UID=0 CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0 CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_RD_GZIP=y CONFIG_RD_GZIP=y
@ -2851,7 +2851,8 @@ CONFIG_DRM_I915_FBDEV=y
# CONFIG_DRM_SIS is not set # CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set # CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set # CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set CONFIG_DRM_VMWGFX=y
CONFIG_DRM_VMWGFX_FBCON=y
# CONFIG_DRM_GMA500 is not set # CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set # CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set # CONFIG_DRM_AST is not set
@ -2877,6 +2878,7 @@ CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set # CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set # CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set # CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set # CONFIG_FB_MACMODES is not set
CONFIG_FB_BACKLIGHT=y CONFIG_FB_BACKLIGHT=y