mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
add ati and intel (doesn't build) graphic driver, create a project dir with various kernel config, diskimages now in target/
This commit is contained in:
parent
23066e0b96
commit
1821eb73fc
@ -1,5 +1,6 @@
|
||||
# Project name
|
||||
PROJECT=openelec
|
||||
PROJECT=generic
|
||||
#PROJECT=openelec
|
||||
|
||||
# Target system we want to cross compile for (i386/x86_64/powerpc)
|
||||
TARGET_ARCH=i386
|
||||
@ -233,10 +234,10 @@ DEFAULT_SMB_PWD=""
|
||||
CONCURRENCY_MAKE_LEVEL=1
|
||||
|
||||
# read project spezific options
|
||||
#test -f "config/projects/$PROJECT/options" && . "config/projects/$PROJECT/options"
|
||||
test -f "projects/$PROJECT/options" && . "projects/$PROJECT/options"
|
||||
|
||||
# read personal options if available
|
||||
#test -f "$HOME/.openelec/projects/$PROJECT/options" \
|
||||
# && . "$HOME/.openelec/projects/$PROJECT/options"
|
||||
test -f "$HOME/.openelec/projects/$PROJECT/options" \
|
||||
&& . "$HOME/.openelec/projects/$PROJECT/options"
|
||||
|
||||
. config/path
|
||||
|
@ -20,6 +20,7 @@ STAMPS_NOARCH=.stamps
|
||||
STAMPS=$BUILD/$STAMPS_NOARCH
|
||||
DOCS=DOCS
|
||||
ROOT=`pwd`
|
||||
PROJECT_DIR=$ROOT/projects
|
||||
TOOLCHAIN=$BUILD/toolchain
|
||||
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||
|
@ -19,7 +19,7 @@ mkdir -p $INSTALL/etc/udev/rules.d
|
||||
cp $PKG_DIR/config/rules.d/* $INSTALL/etc/udev/rules.d
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp cp $PKG_DIR/config/asound.state $INSTALL/etc
|
||||
cp $PKG_DIR/config/asound.state $INSTALL/etc
|
||||
|
||||
if [ "$DEVTOOLS" = yes ]; then
|
||||
# cp $BUILD/$1*/alsaconf/alsaconf $INSTALL/usr/bin
|
||||
|
@ -1,63 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build expat
|
||||
$SCRIPTS/build glproto
|
||||
$SCRIPTS/build dri2proto
|
||||
$SCRIPTS/build libdrm
|
||||
$SCRIPTS/build libXext
|
||||
$SCRIPTS/build libXdamage
|
||||
$SCRIPTS/build libXfixes
|
||||
$SCRIPTS/build libXxf86vm
|
||||
$SCRIPTS/build libX11
|
||||
#$SCRIPTS/build libwsbm
|
||||
|
||||
cd $BUILD/$1*
|
||||
HOST_CC=$HOST_CC \
|
||||
OPT_FLAGS="$CFLAGS -D_GNU_SOURCE" \
|
||||
HOST_OPT_FLAGS="$HOST_CFLAGS" \
|
||||
X11_INCLUDES= \
|
||||
DRI_DRIVER_INSTALL_DIR="$XORG_PATH_DRI" \
|
||||
DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-debug \
|
||||
--disable-selinux \
|
||||
--disable-xcb \
|
||||
--disable-glx-tls \
|
||||
--enable-driglx-direct \
|
||||
--disable-gl-osmesa \
|
||||
--disable-glu \
|
||||
--disable-glut \
|
||||
--disable-glw \
|
||||
--disable-motif \
|
||||
--with-driver=dri \
|
||||
--with-dri-drivers=swrast,unichrome \
|
||||
--with-dri-driverdir="$XORG_PATH_DRI" \
|
||||
--with-x \
|
||||
--without-demos
|
||||
|
||||
make
|
||||
|
||||
# strip libmesa
|
||||
#$STRIP src/mesa/libmesa.so*
|
||||
|
||||
# strip libglapi
|
||||
#$STRIP src/mesa/libglapi.so*
|
||||
|
||||
# strip DRI drivers
|
||||
$STRIP lib*/*.so*
|
||||
|
||||
## copy GLX headers for xorg-server to build
|
||||
#cp -PR include/* $LIB_PREFIX/include
|
||||
|
||||
$MAKEINSTALL -C src/mesa
|
||||
#$MAKEINSTALL -C src/glu
|
||||
|
||||
#DRI_DRIVER_INSTALL_DIR=$SYSROOT_PREFIX/$XORG_PATH_DRI
|
@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install libXdamage
|
||||
$SCRIPTS/install libdrm
|
||||
$SCRIPTS/install expat
|
||||
$SCRIPTS/install libXext
|
||||
$SCRIPTS/install libXfixes
|
||||
$SCRIPTS/install libXxf86vm
|
||||
$SCRIPTS/install libX11
|
||||
#$SCRIPTS/install libwsbm
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
#cp -PR $BUILD/$1*/src/mesa/libmesa.so* $INSTALL/usr/lib
|
||||
#cp -PR $BUILD/$1*/src/mesa/libglapi.so* $INSTALL/usr/lib
|
||||
cp -PR $BUILD/$1*/lib/libGL.so* $INSTALL/usr/lib
|
||||
#cp -PR $BUILD/$1*/lib/libGLU.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/dri
|
||||
cp -PR $BUILD/$1*/lib/*_dri.so $INSTALL/usr/lib/dri
|
@ -1,47 +0,0 @@
|
||||
diff -Naur mesa-7.1rc1-20080706.orig/bin/mklib mesa-7.1rc1-20080706/bin/mklib
|
||||
--- mesa-7.1rc1-20080706.orig/bin/mklib 2008-07-06 14:09:54.000000000 +0200
|
||||
+++ mesa-7.1rc1-20080706/bin/mklib 2008-07-06 14:11:03.000000000 +0200
|
||||
@@ -211,9 +211,9 @@
|
||||
if [ "x$LINK" = "x" ] ; then
|
||||
# -linker was not specified so set default link command now
|
||||
if [ $CPLUSPLUS = 1 ] ; then
|
||||
- LINK=g++
|
||||
+ LINK=$CXX
|
||||
else
|
||||
- LINK=gcc
|
||||
+ LINK=$CC
|
||||
fi
|
||||
fi
|
||||
|
||||
diff -Naur mesa-7.1rc1-20080706.orig/configs/linux-dri mesa-7.1rc1-20080706/configs/linux-dri
|
||||
--- mesa-7.1rc1-20080706.orig/configs/linux-dri 2008-07-06 14:09:54.000000000 +0200
|
||||
+++ mesa-7.1rc1-20080706/configs/linux-dri 2008-07-06 14:16:00.000000000 +0200
|
||||
@@ -14,6 +14,7 @@
|
||||
#MKDEP_OPTIONS = -MF depend
|
||||
|
||||
OPT_FLAGS = -O -g
|
||||
+HOST_OPT_FLAGS = $(OPT_FLAGS)
|
||||
PIC_FLAGS = -fPIC
|
||||
|
||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
||||
@@ -29,6 +30,8 @@
|
||||
|
||||
CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
||||
+HOST_CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
||||
+ $(HOST_OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
||||
|
||||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||
|
||||
diff -Naur mesa-7.1rc1-20080706.orig/src/mesa/x86/Makefile mesa-7.1rc1-20080706/src/mesa/x86/Makefile
|
||||
--- mesa-7.1rc1-20080706.orig/src/mesa/x86/Makefile 2008-07-06 14:09:54.000000000 +0200
|
||||
+++ mesa-7.1rc1-20080706/src/mesa/x86/Makefile 2008-07-06 14:15:00.000000000 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
gen_matypes: gen_matypes.c
|
||||
- $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
|
||||
+ $(HOST_CC) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
|
||||
|
||||
# need some special rules here, unfortunately
|
||||
matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
|
@ -1,105 +0,0 @@
|
||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/directfb/Makefile mesa-7.1/src/mesa/drivers/directfb/Makefile
|
||||
--- mesa-7.1.orig/src/mesa/drivers/directfb/Makefile 2008-08-30 17:04:52.000000000 +0200
|
||||
+++ mesa-7.1/src/mesa/drivers/directfb/Makefile 2008-08-30 17:12:21.000000000 +0200
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
DIRECTFBGL_MESA = libidirectfbgl_mesa.so
|
||||
|
||||
-LIBS = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
||||
+LIBS = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
||||
|
||||
|
||||
.c.o:
|
||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/dri/Makefile.template mesa-7.1/src/mesa/drivers/dri/Makefile.template
|
||||
--- mesa-7.1.orig/src/mesa/drivers/dri/Makefile.template 2008-08-30 17:04:52.000000000 +0200
|
||||
+++ mesa-7.1/src/mesa/drivers/dri/Makefile.template 2008-08-30 17:07:18.000000000 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*-makefile-*-
|
||||
|
||||
-MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
||||
+MESA_MODULES = $(TOP)/src/mesa/libmesa.so
|
||||
|
||||
COMMON_SOURCES = \
|
||||
../common/utils.c \
|
||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/fbdev/Makefile mesa-7.1/src/mesa/drivers/fbdev/Makefile
|
||||
--- mesa-7.1.orig/src/mesa/drivers/fbdev/Makefile 2008-08-30 17:04:52.000000000 +0200
|
||||
+++ mesa-7.1/src/mesa/drivers/fbdev/Makefile 2008-08-30 17:08:06.000000000 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
-I$(TOP)/src/mesa \
|
||||
-I$(TOP)/src/mesa/main
|
||||
|
||||
-CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
||||
+CORE_MESA = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
||||
|
||||
|
||||
.c.o:
|
||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/osmesa/Makefile mesa-7.1/src/mesa/drivers/osmesa/Makefile
|
||||
--- mesa-7.1.orig/src/mesa/drivers/osmesa/Makefile 2008-08-30 17:04:52.000000000 +0200
|
||||
+++ mesa-7.1/src/mesa/drivers/osmesa/Makefile 2008-08-30 17:09:15.000000000 +0200
|
||||
@@ -19,7 +19,7 @@
|
||||
-I$(TOP)/src/mesa \
|
||||
-I$(TOP)/src/mesa/main
|
||||
|
||||
-CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
||||
+CORE_MESA = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
||||
|
||||
|
||||
.PHONY: osmesa8
|
||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/x11/Makefile mesa-7.1/src/mesa/drivers/x11/Makefile
|
||||
--- mesa-7.1.orig/src/mesa/drivers/x11/Makefile 2008-08-30 17:04:52.000000000 +0200
|
||||
+++ mesa-7.1/src/mesa/drivers/x11/Makefile 2008-08-30 17:10:53.000000000 +0200
|
||||
@@ -43,7 +43,7 @@
|
||||
-I$(TOP)/src/mesa \
|
||||
-I$(TOP)/src/mesa/main
|
||||
|
||||
-CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
||||
+CORE_MESA = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
||||
|
||||
|
||||
|
||||
diff -Naur mesa-7.1.orig/src/mesa/Makefile mesa-7.1/src/mesa/Makefile
|
||||
--- mesa-7.1.orig/src/mesa/Makefile 2008-08-30 17:04:51.000000000 +0200
|
||||
+++ mesa-7.1/src/mesa/Makefile 2008-08-30 17:11:54.000000000 +0200
|
||||
@@ -20,8 +20,8 @@
|
||||
|
||||
|
||||
# Default: build dependencies, then asm_subdirs, then convenience
|
||||
-# libs (.a) and finally the device drivers:
|
||||
-default: depend asm_subdirs libmesa.a libglapi.a driver_subdirs
|
||||
+# libs (.so) and finally the device drivers:
|
||||
+default: depend asm_subdirs libmesa.so libglapi.so driver_subdirs
|
||||
|
||||
|
||||
|
||||
@@ -29,17 +29,17 @@
|
||||
# Helper libraries used by many drivers:
|
||||
|
||||
# Make archive of core mesa object files
|
||||
-libmesa.a: $(MESA_OBJECTS)
|
||||
- @ $(MKLIB) -o mesa -static $(MESA_OBJECTS)
|
||||
+libmesa.so: $(MESA_OBJECTS)
|
||||
+ @ $(MKLIB) -o mesa -dlopen $(MESA_OBJECTS)
|
||||
|
||||
# Make archive of gl* API dispatcher functions only
|
||||
-libglapi.a: $(GLAPI_OBJECTS)
|
||||
- @ $(MKLIB) -o glapi -static $(GLAPI_OBJECTS)
|
||||
+libglapi.so: $(GLAPI_OBJECTS)
|
||||
+ @ $(MKLIB) -o glapi -dlopen $(GLAPI_OBJECTS)
|
||||
|
||||
|
||||
######################################################################
|
||||
# Device drivers
|
||||
-driver_subdirs: libmesa.a libglapi.a
|
||||
+driver_subdirs: libmesa.so libglapi.so
|
||||
(cd drivers && $(MAKE))
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
clean:
|
||||
-rm -f */*.o
|
||||
-rm -f */*/*.o
|
||||
- -rm -f depend depend.bak libmesa.a libglapi.a
|
||||
+ -rm -f depend depend.bak libmesa.so libglapi.so
|
||||
-rm -f drivers/*/*.o
|
||||
-rm -f *.pc
|
||||
-@cd drivers/dri && $(MAKE) clean
|
@ -1 +0,0 @@
|
||||
http://switch.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.tar.bz2
|
@ -1,29 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libpthread-stubs
|
||||
$SCRIPTS/build udev
|
||||
$SCRIPTS/build linux
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-udev \
|
||||
--enable-largefile \
|
||||
# --enable-nouveau-experimental-api
|
||||
|
||||
$MAKE
|
||||
#$MAKE -C linux-core LINUXDIR=$(kernel_path) DRM_MODULES=openchrome
|
||||
|
||||
|
||||
$STRIP libdrm/.libs/libdrm.so*
|
||||
$STRIP libdrm/intel/.libs/libdrm_intel.so*
|
||||
#$STRIP libdrm/nouveau/.libs/*.so*
|
||||
|
||||
$MAKEINSTALL
|
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build module-init-tools
|
||||
$SCRIPTS/install linux system
|
||||
|
||||
VER=`ls $BUILD/linux*/modules/lib/modules`
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $BUILD/$1*/libdrm/.libs/libdrm.so* $INSTALL/usr/lib
|
||||
cp -PR $BUILD/$1*/libdrm/intel/.libs/libdrm_intel.so* $INSTALL/usr/lib
|
||||
#cp -PR $BUILD/$1*/libdrm/nouveau/.libs/libdrm_intel.so* $INSTALL/usr/lib
|
||||
|
||||
#mkdir -p "`ls -d $INSTALL/lib/modules/*`/kernel/drivers/gpu/drm"
|
||||
#cp -r $BUILD/$1*/linux-core/drm.ko $INSTALL/lib/modules/*/kernel/drivers/gpu/drm
|
||||
|
||||
#mkdir -p "`ls -d $INSTALL/lib/modules/*`/kernel/drivers/gpu/drm/openchrome"
|
||||
#cp -r $BUILD/$1*/linux-core/openchrome/*.ko $INSTALL/lib/modules/*/kernel/drivers/gpu/drm/openchrome
|
||||
|
||||
#for MOD in `find $INSTALL/lib/modules/ -name *.ko`; do
|
||||
# $STRIP --strip-debug $MOD
|
||||
#done
|
||||
|
||||
#$BUILD/module-init-tool*/depmod -b $INSTALL -v $VER > /dev/null
|
||||
#for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
|
||||
# rm -f $i
|
||||
#done
|
@ -1 +0,0 @@
|
||||
http://dri.freedesktop.org/libdrm/libdrm-2.4.5.tar.bz2
|
@ -1 +1 @@
|
||||
http://sources.openelec.tv/svn/libdrm-newttm-svn-20090329.tar.bz2
|
||||
http://sources.openelec.tv/svn/libdrm-newttm-svn-20090329.2.tar.bz2
|
||||
|
@ -16,9 +16,9 @@ make -C $LINUX ARCH=$TARGET_ARCH INSTALL_HDR_PATH=dest headers_install
|
||||
test -f "config/projects/$PROJECT/options" &&
|
||||
|
||||
#KERNEL_CFG_FILE=$PKG_DIR/config/$1.$TARGET_ARCH.conf
|
||||
[ -f $CONFIG/projects/$PROJECT/$1/$1.$TARGET_PLATFORM.conf ] && \
|
||||
KERNEL_CFG_FILE=$CONFIG/projects/$PROJECT/$1/$1.$TARGET_PLATFORM.conf || \
|
||||
KERNEL_CFG_FILE=$CONFIG/projects/generic/$1/$1.$TARGET_PLATFORM.conf
|
||||
[ -f $PROJECT_DIR/$PROJECT/$1/$1.$TARGET_ARCH.conf ] && \
|
||||
KERNEL_CFG_FILE=$PROJECT_DIR/$PROJECT/$1/$1.$TARGET_ARCH.conf || \
|
||||
KERNEL_CFG_FILE=$PROJECT_DIR/generic/$1/$1.$TARGET_ARCH.conf
|
||||
|
||||
sed -i -e "s|^HOSTCC[[:space:]]*=.*$|HOSTCC = $HOST_CC|" \
|
||||
-e "s|^HOSTCXX[[:space:]]*=.*$|HOSTCXX = $HOST_CXX|" \
|
||||
|
@ -6,9 +6,9 @@ $SCRIPTS/build toolchain
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
[ -f $CONFIG/projects/$PROJECT/$1/$1.conf ] && \
|
||||
BUSYBOX_CFG_FILE=$CONFIG/projects/$PROJECT/$1/$1.conf || \
|
||||
BUSYBOX_CFG_FILE=$CONFIG/projects/generic/$1/$1.conf
|
||||
[ -f $PROJECT_DIR/$PROJECT/$1/$1.conf ] && \
|
||||
BUSYBOX_CFG_FILE=$PROJECT_DIR/$PROJECT/$1/$1.conf || \
|
||||
BUSYBOX_CFG_FILE=$PROJECT_DIR/generic/$1/$1.conf
|
||||
|
||||
cd $BUILD/$1*
|
||||
# Build Busybox for initramfs
|
||||
|
@ -17,11 +17,18 @@ $SCRIPTS/install xkbcomp
|
||||
#$SCRIPTS/install setxkbmap
|
||||
|
||||
#Drivers
|
||||
$SCRIPTS/install xf86-video-openchrome
|
||||
$SCRIPTS/install xf86-input-evdev
|
||||
$SCRIPTS/install xf86-input-synaptics
|
||||
$SCRIPTS/install xf86-video-vesa
|
||||
$SCRIPTS/install xf86-video-nv
|
||||
|
||||
[ "$XORG_DRIVERS" = all ] && XORG_DRIVERS="`find $ROOT/$PACKAGES/ -name "xf86-video-*" | sed s/.*xf86-video-//`"
|
||||
for drv in $XORG_DRIVERS; do
|
||||
$SCRIPTS/build xf86-video-$drv
|
||||
done
|
||||
|
||||
|
||||
#$SCRIPTS/install xf86-video-openchrome
|
||||
#$SCRIPTS/install xf86-video-vesa
|
||||
#$SCRIPTS/install xf86-video-nv
|
||||
|
||||
#+for drv in `ls $INSTALL/usr/lib/xorg/modules/drivers/*_drv.so`; do
|
||||
#+ echo "$drv"|sed -e 's,.*/,,;s,_drv.so,,' >> $INSTALL/etc/X11/drivers
|
||||
|
@ -87,24 +87,26 @@ case "$2" in
|
||||
ln -sf /var/tmp $INSTALL/tmp
|
||||
ln -sf /var/mnt $INSTALL/mnt
|
||||
|
||||
rm -rf openelec.$2
|
||||
$ROOT/$TOOLCHAIN/bin/mksquashfs $INSTALL openelec.$2 -noappend -all-root
|
||||
mkdir -p $ROOT/target
|
||||
rm -rf $ROOT/target/image-$PROJECT.$2
|
||||
$ROOT/$TOOLCHAIN/bin/mksquashfs $INSTALL $ROOT/target/image-$PROJECT.$2 -noappend -all-root
|
||||
# $ROOT/$TOOLCHAIN/bin/mkfs.axfs $INSTALL openelec.$2
|
||||
;;
|
||||
|
||||
img)
|
||||
rm -rf openelec.flash
|
||||
qemu-img create -f raw openelec.flash 50M
|
||||
/sbin/mkfs.ext3 -L OpenELEC -F openelec.flash
|
||||
mkdir -p $ROOT/target
|
||||
rm -rf $ROOT/target/qemu-image.$PROJECT.flash
|
||||
qemu-img create -f raw $ROOT/target/qemu-image.$PROJECT.flash 50M
|
||||
/sbin/mkfs.ext3 -L OpenELEC -F $ROOT/target/qemu-image.$PROJECT.flash
|
||||
|
||||
mkdir -p $ROOT/.tmp
|
||||
sudo mount -o loop openelec.flash $ROOT/.tmp
|
||||
cp -R openelec.system $ROOT/.tmp
|
||||
sudo mount -o loop $ROOT/target/qemu-image.$PROJECT.flash $ROOT/.tmp
|
||||
cp -R $ROOT/target/image-$PROJECT.system $ROOT/.tmp
|
||||
sudo umount $ROOT/.tmp
|
||||
|
||||
rm -rf openelec.store
|
||||
qemu-img create -f raw openelec.store 40M
|
||||
/sbin/mkfs.ext3 -L OpenELEC -F openelec.store
|
||||
rm -rf $ROOT/target/qemu-image.$PROJECT.store
|
||||
qemu-img create -f raw $ROOT/target/qemu-image.$PROJECT.store 40M
|
||||
/sbin/mkfs.ext3 -L OpenELEC -F $ROOT/target/qemu-image.$PROJECT.store
|
||||
|
||||
;;
|
||||
|
||||
|
@ -9,12 +9,12 @@ cd $BUILD/$1*
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-dri \
|
||||
--disable-exa \
|
||||
--with-xorg-module-dir=$XORG_PATH_MODULES
|
||||
|
||||
make
|
||||
|
||||
$STRIP src/.libs/*.so
|
||||
#$STRIP libxvmc/.libs/*.so*
|
||||
$STRIP src/-libs/*.so
|
12
packages/x11/driver/xf86-video-ati/install
Executable file
12
packages/x11/driver/xf86-video-ati/install
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/.libs/ati_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/.libs/radeon_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/multimedia
|
||||
cp $BUILD/$1*/src/.libs/theatre_drv.so $INSTALL/$XORG_PATH_MODULES/multimedia
|
||||
cp $BUILD/$1*/src/.libs/theatre200_drv.so $INSTALL/$XORG_PATH_MODULES/multimedia
|
||||
cp $BUILD/$1*/src/.libs/theatre_detect_drv.so $INSTALL/$XORG_PATH_MODULES/multimedia
|
@ -1,7 +1,6 @@
|
||||
diff -Naur xf86-video-openchrome-0.2.903.orig/configure xf86-video-openchrome-0.2.903/configure
|
||||
--- xf86-video-openchrome-0.2.903.orig/configure 2008-08-30 17:34:34.000000000 +0200
|
||||
+++ xf86-video-openchrome-0.2.903/configure 2008-08-30 17:34:50.000000000 +0200
|
||||
@@ -21163,7 +21163,7 @@
|
||||
--- xf86-video-ati-6.10.0.orig/configure 2009-01-09 18:46:01.000000000 +0100
|
||||
+++ xf86-video-ati-6.10.0/configure 2009-01-09 18:46:45.000000000 +0100
|
||||
@@ -21389,7 +21389,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
@ -10,7 +9,7 @@ diff -Naur xf86-video-openchrome-0.2.903.orig/configure xf86-video-openchrome-0.
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -21188,7 +21188,7 @@
|
||||
@@ -21414,7 +21414,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
@ -19,7 +18,7 @@ diff -Naur xf86-video-openchrome-0.2.903.orig/configure xf86-video-openchrome-0.
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -21213,7 +21213,7 @@
|
||||
@@ -21439,7 +21439,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
@ -28,7 +27,16 @@ diff -Naur xf86-video-openchrome-0.2.903.orig/configure xf86-video-openchrome-0.
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -21563,7 +21563,7 @@
|
||||
@@ -21464,7 +21464,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -23059,7 +23059,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
1
packages/x11/driver/xf86-video-ati/url
Normal file
1
packages/x11/driver/xf86-video-ati/url
Normal file
@ -0,0 +1 @@
|
||||
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-6.12.1.tar.bz2
|
2
packages/x11/driver/xf86-video-intel/arch
Normal file
2
packages/x11/driver/xf86-video-intel/arch
Normal file
@ -0,0 +1,2 @@
|
||||
i386
|
||||
x86_64
|
@ -4,17 +4,20 @@
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
CFLAGS="$CFLAGS -I$BUILD/$1*/src/xvmc"
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-dri \
|
||||
--with-xorg-module-dir=$XORG_PATH_MODULES
|
||||
|
||||
sed -i 's%.*XF86DRI_MM.*%%' config.h
|
||||
|
||||
make
|
||||
|
||||
$STRIP src/.libs/*.so
|
||||
$STRIP libxvmc/.libs/*.so*
|
||||
$STRIP src/{,ch7017,ch7xxx,ivch,sil164,tfp410}/.libs/*.so
|
11
packages/x11/driver/xf86-video-intel/install
Executable file
11
packages/x11/driver/xf86-video-intel/install
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/.libs/intel_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/ch7017/.libs/ch7017.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/ch7xxx/.libs/ch7xxx.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/ivch/.libs/ivch.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/sil164/.libs/sil164.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/tfp410/.libs/tfp410.so $INSTALL/$XORG_PATH_MODULES/drivers
|
12
packages/x11/driver/xf86-video-intel/patches/20_no_sgml.diff
Normal file
12
packages/x11/driver/xf86-video-intel/patches/20_no_sgml.diff
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur xf86-video-intel-2.6.99.901/configure.org xf86-video-intel-2.6.99.901/configure
|
||||
--- xf86-video-intel-2.6.99.901/configure.org 2009-03-10 08:32:21.000000000 +0100
|
||||
+++ xf86-video-intel-2.6.99.901/configure 2009-03-10 08:32:57.000000000 +0100
|
||||
@@ -23592,7 +23592,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xf86-video-intel-2.6.99.901/configure.org xf86-video-intel-2.6.99.901/configure
|
||||
--- xf86-video-intel-2.6.99.901/configure.org 2009-03-10 08:20:36.000000000 +0100
|
||||
+++ xf86-video-intel-2.6.99.901/configure 2009-03-10 08:18:38.000000000 +0100
|
||||
@@ -22358,7 +22358,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- test "$cross_compiling" = dummy &&
|
||||
+ test "$cross_compiling" = yes &&
|
||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xf86-video-intel-2.1.1.orig/src/i830.h xf86-video-intel-2.1.1/src/i830.h
|
||||
--- xf86-video-intel-2.1.1.orig/src/i830.h 2007-08-26 18:14:07.000000000 +0200
|
||||
+++ xf86-video-intel-2.1.1/src/i830.h 2007-08-26 18:14:27.000000000 +0200
|
||||
@@ -47,6 +47,8 @@
|
||||
#ifndef _I830_H_
|
||||
#define _I830_H_
|
||||
|
||||
+#include <inttypes.h>
|
||||
+
|
||||
#include "xf86_OSproc.h"
|
||||
#include "compiler.h"
|
||||
#include "xf86PciInfo.h"
|
@ -0,0 +1,30 @@
|
||||
diff -Naur xf86-video-intel-2.6.99.901/configure.old xf86-video-intel-2.6.99.901/configure
|
||||
--- xf86-video-intel-2.6.99.901/configure.org 2009-03-10 08:28:45.000000000 +0100
|
||||
+++ xf86-video-intel-2.6.99.901/configure 2009-03-10 08:31:17.000000000 +0100
|
||||
@@ -22330,7 +22330,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -22358,7 +22358,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -22386,7 +22386,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xf86-video-intel-2.6.99.901/configure.old xf86-video-intel-2.6.99.901/configure
|
||||
--- xf86-video-intel-2.6.99.901/configure.org 2009-03-10 08:28:45.000000000 +0100
|
||||
+++ xf86-video-intel-2.6.99.901/configure 2009-03-10 08:31:17.000000000 +0100
|
||||
@@ -22330,7 +22330,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
11
packages/x11/driver/xf86-video-intel/patches/60_overlay.diff
Normal file
11
packages/x11/driver/xf86-video-intel/patches/60_overlay.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- xf86-video-intel-2.5.1/src/i830_driver.c.org 2008-11-15 17:29:56.000000000 +0100
|
||||
+++ xf86-video-intel-2.5.1/src/i830_driver.c 2008-11-15 17:30:52.000000000 +0100
|
||||
@@ -1696,7 +1696,7 @@
|
||||
pI830->XvDisabled =
|
||||
!xf86ReturnOptValBool(pI830->Options, OPTION_XVIDEO, TRUE);
|
||||
|
||||
- pI830->XvPreferOverlay = xf86ReturnOptValBool(pI830->Options, OPTION_PREFER_OVERLAY, FALSE);
|
||||
+ pI830->XvPreferOverlay = TRUE;
|
||||
|
||||
#ifdef I830_XV
|
||||
if (xf86GetOptValInteger(pI830->Options, OPTION_VIDEO_KEY,
|
@ -0,0 +1,13 @@
|
||||
diff -Naur xf86-video-intel-2.5.0/src/i830_driver.c xf86-video-intel-2.5.0.edit/src/i830_driver.c
|
||||
--- xf86-video-intel-2.5.0/src/i830_driver.c 2008-10-20 23:02:38.000000000 +0200
|
||||
+++ xf86-video-intel-2.5.0.edit/src/i830_driver.c 2008-10-25 17:53:33.000000000 +0200
|
||||
@@ -3309,8 +3313,7 @@
|
||||
vgaHWSetMmioFuncs(hwp, pI830->MMIOBase, 0);
|
||||
vgaHWGetIOBase(hwp);
|
||||
DPRINTF(PFX, "assert( if(!vgaHWMapMem(pScrn)) )\n");
|
||||
- if (!vgaHWMapMem(pScrn))
|
||||
- return FALSE;
|
||||
+ vgaHWMapMem(pScrn);
|
||||
}
|
||||
|
||||
i830_disable_render_standby(pScrn);
|
@ -0,0 +1,46 @@
|
||||
diff -Naur xf86-video-intel-2.3.2.orig/src/i830.h xf86-video-intel-2.3.2/src/i830.h
|
||||
--- xf86-video-intel-2.3.2.orig/src/i830.h 2008-07-06 15:52:23.000000000 +0200
|
||||
+++ xf86-video-intel-2.3.2/src/i830.h 2008-07-06 15:52:38.000000000 +0200
|
||||
@@ -920,4 +923,42 @@
|
||||
#define QUIRK_RESET_MODES 0x00000020
|
||||
extern void i830_fixup_devices(ScrnInfoPtr);
|
||||
|
||||
+#ifndef TTM_API
|
||||
+/* reuse some TTM API */
|
||||
+
|
||||
+#define DRM_BO_MEM_LOCAL 0
|
||||
+#define DRM_BO_MEM_TT 1
|
||||
+#define DRM_BO_MEM_VRAM 2
|
||||
+#define DRM_BO_MEM_PRIV0 3
|
||||
+#define DRM_BO_MEM_PRIV1 4
|
||||
+#define DRM_BO_MEM_PRIV2 5
|
||||
+#define DRM_BO_MEM_PRIV3 6
|
||||
+#define DRM_BO_MEM_PRIV4 7
|
||||
+
|
||||
+#define DRM_BO_FLAG_READ (1ULL << 0)
|
||||
+#define DRM_BO_FLAG_WRITE (1ULL << 1)
|
||||
+#define DRM_BO_FLAG_EXE (1ULL << 2)
|
||||
+#define DRM_BO_MASK_ACCESS (DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE | DRM_BO_FLAG_EXE)
|
||||
+#define DRM_BO_FLAG_NO_EVICT (1ULL << 4)
|
||||
+
|
||||
+#define DRM_BO_FLAG_MAPPABLE (1ULL << 5)
|
||||
+#define DRM_BO_FLAG_SHAREABLE (1ULL << 6)
|
||||
+
|
||||
+#define DRM_BO_FLAG_CACHED (1ULL << 7)
|
||||
+
|
||||
+#define DRM_BO_FLAG_NO_MOVE (1ULL << 8)
|
||||
+#define DRM_BO_FLAG_CACHED_MAPPED (1ULL << 19)
|
||||
+#define DRM_BO_FLAG_FORCE_CACHING (1ULL << 13)
|
||||
+#define DRM_BO_FLAG_FORCE_MAPPABLE (1ULL << 14)
|
||||
+#define DRM_BO_FLAG_TILE (1ULL << 15)
|
||||
+
|
||||
+#define DRM_BO_FLAG_MEM_LOCAL (1ULL << 24)
|
||||
+#define DRM_BO_FLAG_MEM_TT (1ULL << 25)
|
||||
+#define DRM_BO_FLAG_MEM_VRAM (1ULL << 26)
|
||||
+
|
||||
+#define DRM_BO_MASK_MEM 0x00000000FF000000ULL
|
||||
+
|
||||
+#define DRM_FENCE_TYPE_EXE 0x00000001
|
||||
+#endif
|
||||
+
|
||||
#endif /* _I830_H_ */
|
56
packages/x11/driver/xf86-video-intel/patches/80_quirks.diff
Normal file
56
packages/x11/driver/xf86-video-intel/patches/80_quirks.diff
Normal file
@ -0,0 +1,56 @@
|
||||
--- xf86-video-intel-2.5.1/src/i830_quirks.c.org 2008-11-13 23:24:50.000000000 +0100
|
||||
+++ xf86-video-intel-2.5.1/src/i830_quirks.c 2008-11-13 23:36:08.000000000 +0100
|
||||
@@ -235,7 +235,10 @@
|
||||
/* Apple Mac mini has no lvds, but macbook pro does */
|
||||
{ PCI_CHIP_I945_GM, 0x8086, 0x7270, quirk_mac_mini },
|
||||
|
||||
- /* Transtec Senyo 610 mini pc */
|
||||
+ /* Asus Eee PC B202 (See LP: #233787) */
|
||||
+ { PCI_CHIP_I945_GME, 0x1043, 0x1252, quirk_ignore_lvds },
|
||||
+
|
||||
+ /* Transtec Senyo 610 mini pc (See LP: #233787) */
|
||||
{ PCI_CHIP_I965_GM, 0x1509, 0x2f15, quirk_ignore_lvds },
|
||||
|
||||
/* Clevo M720R has no tv output */
|
||||
@@ -255,13 +258,15 @@
|
||||
{ PCI_CHIP_I965_GM, 0x1028, 0x0286, quirk_ignore_tv },
|
||||
/* Dell Vostro A840 (LP: #235155) */
|
||||
{ PCI_CHIP_I965_GM, 0x1028, 0x0298, quirk_ignore_tv },
|
||||
- /* Dell Studio Hybrid */
|
||||
+ /* Dell Studio Hybrid (LP: #267945) */
|
||||
{ PCI_CHIP_I965_GM, 0x1028, 0x0279, quirk_ignore_lvds },
|
||||
|
||||
/* Lenovo Napa TV (use dmi)*/
|
||||
{ PCI_CHIP_I945_GM, 0x17aa, SUBSYS_ANY, quirk_lenovo_tv_dmi },
|
||||
/* Lenovo 3000 v200 */
|
||||
{ PCI_CHIP_I965_GM, 0x17aa, 0x3c18, quirk_ignore_tv },
|
||||
+ /* Lenovo T60/R60 needs pipe A force quirk (See LP: #243405) */
|
||||
+ { PCI_CHIP_I945_GM, 0x17aa, 0x201a, quirk_pipea_force },
|
||||
|
||||
/* Panasonic Toughbook CF-Y4 has no TV output */
|
||||
{ PCI_CHIP_I915_GM, 0x10f7, 0x8338, quirk_ignore_tv },
|
||||
@@ -286,9 +291,13 @@
|
||||
/* HP Compaq 6730s has no TV output */
|
||||
{ PCI_CHIP_GM45_GM, 0x103c, 0x30e8, quirk_ignore_tv },
|
||||
|
||||
+ /* Thinkpad G40 needs pipe A force quirk (See LP: #240457) */
|
||||
+ { PCI_CHIP_I855_GM, 0x1014, 0x0543, quirk_pipea_force },
|
||||
/* Thinkpad R31 needs pipe A force quirk */
|
||||
{ PCI_CHIP_I830_M, 0x1014, 0x0505, quirk_pipea_force },
|
||||
- /* Dell Latitude D400 needs pipe A force quirk (LP: #228519) */
|
||||
+ /* Dell Latitude C400 needs pipe A force quirk (See LP: #216490) */
|
||||
+ { PCI_CHIP_I855_GM, 0x1028, 0x00c8, quirk_pipea_force },
|
||||
+ /* Dell Latitude D400 needs pipe A force quirk (See LP: #228519) *
|
||||
{ PCI_CHIP_I855_GM, 0x1028, 0x0139, quirk_pipea_force },
|
||||
/* Dell Latitude D500 needs pipe A force quirk */
|
||||
{ PCI_CHIP_I855_GM, 0x1028, 0x0152, quirk_pipea_force },
|
||||
@@ -322,6 +331,9 @@
|
||||
/* Sony vaio VGN-SZ4MN (See LP: #212163) */
|
||||
{ PCI_CHIP_I830_M, 0x104d, 0x81e6, quirk_pipea_force },
|
||||
|
||||
+ /* Quanta Gigabyte W251U (See LP: #244242) */
|
||||
+ { PCI_CHIP_I945_GM, 0x152d, 0x0755, quirk_pipea_force },
|
||||
+
|
||||
/* Ordi Enduro UW31 (See LP: #152416) */
|
||||
{ PCI_CHIP_I945_GM, 0x1584, 0x9900, quirk_ignore_tv },
|
||||
|
1
packages/x11/driver/xf86-video-intel/url
Normal file
1
packages/x11/driver/xf86-video-intel/url
Normal file
@ -0,0 +1 @@
|
||||
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.6.99.902.tar.bz2
|
@ -1,33 +0,0 @@
|
||||
# NOTE: Comments in openchrome 0.2.1 driver source indicate this device does not
|
||||
# exist in the wild, so it has been disabled for now.
|
||||
#alias pcivideo:v00001106d00003022sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3108 - K8M800 (PCI_CHIP_VT3204)
|
||||
alias pcivideo:v00001106d00003108sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3118 - PM800/PM880/CN400 (PCI_CHIP_VT3259)
|
||||
alias pcivideo:v00001106d00003118sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3122 - CLE266 (PCI_CHIP_CLE3122)
|
||||
alias pcivideo:v00001106d00003122sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:7205 - KM400/KN400 (PCI_CHIP_VT3205)
|
||||
alias pcivideo:v00001106d00007205sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3344 - VM800 (PCI_CHIP_VT3314)
|
||||
alias pcivideo:v00001106d00003344sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3157 - CX700 (PCI_CHIP_VT3324)
|
||||
alias pcivideo:v00001106d00003157sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3343 - P4M890 (PCI_CHIP_VT3327)
|
||||
alias pcivideo:v00001106d00003343sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3230 - K8M890 (PCI_CHIP_VT3336)
|
||||
alias pcivideo:v00001106d00003230sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3371 - P4M900 (PCI_CHIP_VT3364)
|
||||
alias pcivideo:v00001106d00003371sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:1122 - VX800 (PCI_CHIP_VT3353)
|
||||
alias pcivideo:v00001106d00001122sv*sd*bc*sc*i* openchrome
|
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/.libs/*_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp $BUILD/$1*/libxvmc/.libs/*.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/share/hwdata/videoaliases
|
||||
cp $PKG_DIR/config/openchrome.xinf $INSTALL/usr/share/hwdata/videoaliases
|
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
http://openchrome.org/releases/xf86-video-openchrome-0.2.903.tar.bz2
|
@ -1,33 +0,0 @@
|
||||
# NOTE: Comments in openchrome 0.2.1 driver source indicate this device does not
|
||||
# exist in the wild, so it has been disabled for now.
|
||||
#alias pcivideo:v00001106d00003022sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3108 - K8M800 (PCI_CHIP_VT3204)
|
||||
alias pcivideo:v00001106d00003108sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3118 - PM800/PM880/CN400 (PCI_CHIP_VT3259)
|
||||
alias pcivideo:v00001106d00003118sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3122 - CLE266 (PCI_CHIP_CLE3122)
|
||||
alias pcivideo:v00001106d00003122sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:7205 - KM400/KN400 (PCI_CHIP_VT3205)
|
||||
alias pcivideo:v00001106d00007205sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3344 - VM800 (PCI_CHIP_VT3314)
|
||||
alias pcivideo:v00001106d00003344sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3157 - CX700 (PCI_CHIP_VT3324)
|
||||
alias pcivideo:v00001106d00003157sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3343 - P4M890 (PCI_CHIP_VT3327)
|
||||
alias pcivideo:v00001106d00003343sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3230 - K8M890 (PCI_CHIP_VT3336)
|
||||
alias pcivideo:v00001106d00003230sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3371 - P4M900 (PCI_CHIP_VT3364)
|
||||
alias pcivideo:v00001106d00003371sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:1122 - VX800 (PCI_CHIP_VT3353)
|
||||
alias pcivideo:v00001106d00001122sv*sd*bc*sc*i* openchrome
|
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
cp $BUILD/$1*/src/.libs/*_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp $BUILD/$1*/libxvmc/.libs/*.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/share/hwdata/videoaliases
|
||||
cp $PKG_DIR/config/openchrome.xinf $INSTALL/usr/share/hwdata/videoaliases
|
File diff suppressed because it is too large
Load Diff
@ -1,39 +0,0 @@
|
||||
diff -Naur xf86-video-openchrome-0.2.903/configure xf86-video-openchrome-0.2.903.patch/configure
|
||||
--- xf86-video-openchrome-0.2.903/configure 2009-03-02 12:28:36.000000000 +0100
|
||||
+++ xf86-video-openchrome-0.2.903.patch/configure 2009-03-02 12:31:01.000000000 +0100
|
||||
@@ -21163,7 +21163,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -21188,7 +21188,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -21213,7 +21213,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -21563,7 +21563,7 @@
|
||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
- test "$cross_compiling" = yes &&
|
||||
+ test "$cross_compiling" = dummy &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
@ -1 +0,0 @@
|
||||
http://xorg.freedesktop.org/releases/individual/driver/xf86-video-openchrome-0.2.903.tar.bz2
|
File diff suppressed because it is too large
Load Diff
4
projects/generic/options
Normal file
4
projects/generic/options
Normal file
@ -0,0 +1,4 @@
|
||||
# X.org drivers to use (all/ati/geode/glint/i740/intel/mga/nv/openchrome/
|
||||
# radeonhd/s3/s3virge/savage/sis/tdfx/trident/vesa/vmware)
|
||||
# Space separated list is supported, e.g. XORG_DRIVERS="ati s3"
|
||||
XORG_DRIVERS="all"
|
4
projects/openelec/options
Normal file
4
projects/openelec/options
Normal file
@ -0,0 +1,4 @@
|
||||
# X.org drivers to use (all/ati/geode/glint/i740/intel/mga/nv/openchrome/
|
||||
# radeonhd/s3/s3virge/savage/sis/tdfx/trident/vesa/vmware)
|
||||
# Space separated list is supported, e.g. XORG_DRIVERS="ati s3"
|
||||
XORG_DRIVERS="openchrome"
|
Loading…
x
Reference in New Issue
Block a user