clean up cubox

This commit is contained in:
Stefan Saraev 2013-10-14 13:23:02 +03:00
parent e3d831a333
commit 604778588e
23 changed files with 1 additions and 700 deletions

View File

@ -32,12 +32,6 @@ else
LIBCEC_RPI="--disable-rpi"
fi
if [ "$XBMCPLAYER_DRIVER" = "marvell-libgfx" ]; then
LIBCEC_TDA995X="--enable-cubox --with-tda995x-toolkit-path=$(kernel_path)/drivers/video/dovefb/nxp_hdmi"
else
LIBCEC_TDA995X="--disable-cubox"
fi
# dont use some optimizations because of build problems
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
@ -49,7 +43,7 @@ cd $PKG_BUILD
--disable-static \
--enable-shared \
$LIBCEC_RPI \
$LIBCEC_TDA995X
--disable-cubox
make

View File

@ -1,33 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
cd $PKG_BUILD
make -f Makefile_general libbmm.so.0u
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -PR libbmm.so* $SYSROOT_PREFIX/usr/lib
mkdir -p $SYSROOT_PREFIX/usr/include
cp -PR bmm_lib.h $SYSROOT_PREFIX/usr/include

View File

@ -1,29 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libbmm.so* $INSTALL/usr/lib
mkdir -p $INSTALL/lib/udev/rules.d
cp -PR $PKG_BUILD/etc/udev/rules.d/*.rules $INSTALL/lib/udev/rules.d

View File

@ -1,36 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="marvell-libbmm"
PKG_VERSION="0.2.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="free to use"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="marvell-libbmm: Allocate, manage and share large block of physical continuous memory."
PKG_LONGDESC="marvell-libbmm: Allocate, manage and share large block of physical continuous memory."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,27 +0,0 @@
diff -Naur libbmm-0.2.0/Makefile_general libbmm-0.2.0.patch/Makefile_general
--- libbmm-0.2.0/Makefile_general 2011-03-07 18:48:46.000000000 +0100
+++ libbmm-0.2.0.patch/Makefile_general 2012-12-24 20:19:47.791960702 +0100
@@ -30,20 +30,20 @@
uninstall-host uninstall-target
.c.o:
- ${CC} -fPIC -o $@ -c $<
+ ${CC} -fPIC ${CFLAGS} -o $@ -c $<
all: compile install-host install-target
compile: bmm_test libbmm.so libbmm.a
bmm_test: libbmm.so.$(ABI_VERSION) ${bmm_test_obj}
- ${CC} -o $@ ${bmm_test_obj} -L. -lbmm
+ ${CC} ${LDLAGS} -o $@ ${bmm_test_obj} -L. -lbmm
libbmm.a: ${bmm_lib_obj}
${AR} -rcs $@ ${bmm_lib_obj}
libbmm.so.$(ABI_VERSION): ${bmm_lib_obj}
- ${CC} -g -s -shared -Wl,-soname,$@ -o $@.$(ABI_REVISION) ${bmm_lib_obj}
+ ${CC} -g -s ${LDFLAGS} -shared -Wl,-soname,$@ -o $@.$(ABI_REVISION) ${bmm_lib_obj}
ln -s $@.$(ABI_REVISION) $@
ln -s $@.$(ABI_REVISION) libbmm.so

View File

@ -1,27 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
cd $PKG_BUILD
make libvmeta.so

View File

@ -1,26 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libvmeta.so* $INSTALL/usr/lib

View File

@ -1,36 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="marvell-libvmeta"
PKG_VERSION="3.8.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="free to use"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="marvell-libbmm"
PKG_BUILD_DEPENDS="toolchain marvell-libbmm"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="marvell-libvmeta: vmeta library on marvell dove platform."
PKG_LONGDESC="marvell-libvmeta: vmeta library on marvell dove platform."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,21 +0,0 @@
diff -Naur marvell-libvmeta-3.8.3/Makefile marvell-libvmeta-3.8.3.patch/Makefile
--- marvell-libvmeta-3.8.3/Makefile 2011-03-07 18:51:17.000000000 +0100
+++ marvell-libvmeta-3.8.3.patch/Makefile 2012-12-27 01:14:34.043086675 +0100
@@ -22,7 +22,7 @@
uninstall-host uninstall-target
.c.o:
- ${CC} -fPIC -o $@ -c $<
+ ${CC} ${CFLAGS} -fPIC -o $@ -c $<
all: compile install-host install-target
@@ -32,7 +32,7 @@
${AR} -rcs $@ ${vmeta_lib_obj}
libvmeta.so: ${vmeta_lib_obj}
- ${CC} -g -s -shared -Wl,-soname,$@ -o $@ ${vmeta_lib_obj} -lbmm
+ ${CC} -g -s ${LDFLAGS} -shared -Wl,-soname,$@ -o $@ ${vmeta_lib_obj} -lbmm
clean: clean-local

View File

@ -1,36 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
LIBGLES_LIBDIR="soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
LIBGLES_LIBDIR="hard/lib"
fi
cd $PKG_BUILD
mkdir -p $SYSROOT_PREFIX/usr/include
cp -PR include/* $SYSROOT_PREFIX/usr/include
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -PR $LIBGLES_LIBDIR/*.so* $SYSROOT_PREFIX/usr/lib

View File

@ -1,32 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
LIBGLES_LIBDIR="soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
LIBGLES_LIBDIR="hard/lib"
fi
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/$LIBGLES_LIBDIR/*.so* $INSTALL/usr/lib

View File

@ -1,36 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="marvell-libgfx"
PKG_VERSION="20121001"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="libXfixes libXdamage"
PKG_BUILD_DEPENDS="toolchain libXfixes libXdamage"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
PKG_SHORTDESC="marvell-libgfx: OpenGL-ES and OpenMAX driver for Marvell Dove"
PKG_LONGDESC="marvell-libgfx: OpenGL-ES and OpenMAX driver for Marvell Dove"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -275,12 +275,6 @@ if [ ! "$XBMCPLAYER_DRIVER" = default ]; then
-I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux"
XBMC_CFLAGS="$XBMC_CFLAGS $BCM2835_INCLUDES"
XBMC_CXXFLAGS="$XBMC_CXXFLAGS $BCM2835_INCLUDES"
elif [ "$XBMCPLAYER_DRIVER" = "marvell-libgfx" ]; then
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET marvell-ipp"
PKG_DEPENDS="$PKG_DEPENDS marvell-ipp"
XBMC_OPENMAX="--disable-openmax"
XBMC_PLAYER="--with-platform=marvell-dove"
XBMC_CODEC=""
else
XBMC_OPENMAX="--disable-openmax"
fi

View File

@ -1,44 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
VMETA_LIBDIR="vmeta/soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
VMETA_LIBDIR="vmeta/hard/lib"
fi
# dont build parallel
MAKEFLAGS=-j1
cd $PKG_BUILD
cd example/misc/build/wmmx2_linux
make -f makefile_miscGen
cd -
mkdir -p $SYSROOT_PREFIX/usr/include/marvell-ipp
cp -PR include/* $SYSROOT_PREFIX/usr/include/marvell-ipp
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -P lib/libmiscgen.so $SYSROOT_PREFIX/usr/lib
cp -PR $VMETA_LIBDIR/*.so* $SYSROOT_PREFIX/usr/lib

View File

@ -1,37 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
VMETA_LIBDIR="vmeta/soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
VMETA_LIBDIR="vmeta/hard/lib"
fi
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/$VMETA_LIBDIR/*.so* $INSTALL/usr/lib
cp -P $PKG_BUILD/lib/libmiscgen.so $INSTALL/usr/lib
mkdir -p $INSTALL/lib/udev/rules.d
cp -PR $PKG_BUILD/etc/*.rules $INSTALL/lib/udev/rules.d

View File

@ -1,36 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="marvell-ipp"
PKG_VERSION="0.2.1"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="marvell-libvmeta"
PKG_BUILD_DEPENDS="toolchain marvell-libvmeta"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="marvell-ipp: Marvell IPP Codecs"
PKG_LONGDESC="marvell-ipp: Marvell IPP Codecs"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,41 +0,0 @@
diff -Naur marvell-ipp-0.2.1/example/Rules.make marvell-ipp-0.2.1.patch/example/Rules.make
--- marvell-ipp-0.2.1/example/Rules.make 2011-03-07 18:51:40.000000000 +0100
+++ marvell-ipp-0.2.1.patch/example/Rules.make 2012-12-26 23:48:51.811467005 +0100
@@ -28,26 +28,26 @@
#PATH_GNU_BIN=/usr/local/arm-marvell-linux-gnueabi/bin
PATH_GNU_BIN=/usr/local/arm-marvell-linux-gnueabi-4.4.4/bin
TOOLCHAIN_PREFIX=arm-marvell-linux-gnueabi
-CFLAGS= -mcpu=marvell-f
+#CFLAGS= -mcpu=marvell-f
endif
#==============================================================================
# GNU binaries (server admin update)
#==============================================================================
-CC=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
-CXX=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
-AR=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-ar
-AS=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-as
-LN=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
+CC ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
+CXX?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
+AR ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-ar
+AS ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-as
+LN ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
#==============================================================================
# GNU build options: (build engineer update)
#==============================================================================
-CFLAGS+= -O3 -Wall -mabi=aapcs-linux -fPIC -D_IPP_LINUX
-CXXFLAGS= $(CFLAGS)
-ASFLAGS= -k -mcpu=iwmmxt2
-ARFLAGS=
-LNFLAGS= -lpthread -ldl -lm -lrt $(PGO_FLAGS) -Wl,-R ./
+CFLAGS += -O3 -Wall -mabi=aapcs-linux -fPIC -D_IPP_LINUX
+CXXFLAGS ?= $(CFLAGS)
+ASFLAGS ?= -k -mcpu=iwmmxt2
+ARFLAGS =
+LNFLAGS ?= -lpthread -ldl -lm -lrt $(PGO_FLAGS) -Wl,-R ./
#==============================================================================
# User root path (user update)

View File

@ -1,60 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
xorg_drv_configure_prepend
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_SUPPORT_RANDR=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_SUPPORT_EXA=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DDUMP_RAW_VIDEO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_USE_OFFSCREEN_HEAP=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_MODE=2"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_ENABLE_UP_DOWNLOAD=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_FORCE_HW_LOAD=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_ALLOC_PIXMAP_FROM_SYSTEM=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_PERF_PROFILING=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_TRACE_FALLBACK=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_XBGR_SUPPORT=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_SUPPORT_RGB_FORMAT=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_TEX_VIDEO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_OVERLAY_VIDEO=2"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_DEFERRED_STALL_GPU=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_USE_FAKE_FENCE_STALL=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_RANDR_EDID_MODES=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_CRTC_SUPPORT_ROTATION=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_PLATFORM_INFO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_MIXED_VIDEO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_SOURCE_VERSION='\"0.1.0\"'"
CFLAGS="$CFLAGS $MARVEL_CFLAGS -I$SYSROOT_PREFIX/usr/include/HAL"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--enable-shared \
--disable-static \
--with-xorg-module-dir=$XORG_PATH_MODULES
make

View File

@ -1,41 +0,0 @@
Section "Monitor"
Identifier "HDMI"
Option "Position" "0 0"
Option "Enable" "true"
Option "PreferredMode" "1920x1080"
# Option "PreferredMode" "1280x720"
# Option "PreferredMode" "1024x768"
# Option "PreferredMode" "640x480"
# Option "PreferredMode" "800x600"
EndSection
Section "Device"
Identifier "Driver0"
Screen 0
Driver "dovefb"
Option "debug" "TRUE"
Option "ExaAccel" "FALSE"
Option "Solid" "TRUE"
Option "Copy" "TRUE"
Option "Composite" "FALSE"
Option "SWSolid" "FALSE"
Option "SWCopy" "FALSE"
Option "Commit" "FALSE"
Option "XvAccel" "TRUE"
Option "HWCursor" "FALSE"
Option "EncFunc" "7"
Option "UseDriverBuiltInMode" "TRUE"
Option "EnableDualDisplay" "FALSE"
EndSection
Section "Screen"
Device "Driver0"
Monitor "HDMI"
Identifier "Screen"
# DefaultDepth 24
# DefaultFbBpp 24
SubSection "Display"
Viewport 0 0
Virtual 2048 2048
EndSubSection
EndSection

View File

@ -1,29 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
cp -P $PKG_BUILD/src/.libs/dovefb_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
mkdir -p $INSTALL/etc/X11
cp $PKG_DIR/config/*.conf $INSTALL/etc/X11

View File

@ -1,36 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="xf86-video-dove"
PKG_VERSION="0.3.4"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="OSS"
PKG_SITE="http://www.solid-run.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="marvell-libgfx"
PKG_BUILD_DEPENDS="toolchain randrproto renderproto videoproto xproto fontsproto marvell-libgfx xorg-server"
PKG_PRIORITY="optional"
PKG_SECTION="x11/driver"
PKG_SHORTDESC="xf86-video-dove: The Xorg driver for Marvell Dove video chips"
PKG_LONGDESC="The Xorg driver for Marvell Dove video chips."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

View File

@ -1,12 +0,0 @@
diff -Naur xf86-video-dove-0.3.4/configure.ac xf86-video-dove-0.3.4.patch/configure.ac
--- xf86-video-dove-0.3.4/configure.ac 2011-03-07 18:52:09.000000000 +0100
+++ xf86-video-dove-0.3.4.patch/configure.ac 2013-01-22 13:30:57.420372292 +0100
@@ -27,7 +27,7 @@
xf86-video-mrvl)
AC_CONFIG_SRCDIR([Makefile.am])
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE([dist-bzip2])

View File

@ -1,12 +0,0 @@
diff -Naur xf86-video-dove-0.3.4/src/Makefile.am xf86-video-dove-0.3.4.patch/src/Makefile.am
--- xf86-video-dove-0.3.4/src/Makefile.am 2011-03-07 18:52:09.000000000 +0100
+++ xf86-video-dove-0.3.4.patch/src/Makefile.am 2013-01-01 03:58:19.411541528 +0100
@@ -24,7 +24,7 @@
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
-INCLUDES = -I/usr/include/HAL -I$(top_srcdir)/src/video
+INCLUDES = -I$(top_srcdir)/src/video
AM_CFLAGS = @XORG_CFLAGS@
dovefb_drv_la_LTLIBRARIES = dovefb_drv.la