mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
crystalhd: update to crystalhd-fdd2f19 (for testing)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
46a710528a
commit
4dfbbe0567
@ -22,15 +22,7 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD/driver/linux
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--with-kernel-path=$(kernel_path) \
|
||||
|
||||
make V=1
|
||||
|
||||
cd ../../linux_lib/libcrystalhd
|
||||
cd $PKG_BUILD/linux_lib/libcrystalhd
|
||||
|
||||
make BCGCC=$TARGET_CXX
|
||||
$MAKEINSTALL
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
VER=`ls $BUILD/linux*/modules/lib/modules`
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp $PKG_BUILD/firmware/fwbin/*/*.bin $INSTALL/lib/firmware
|
||||
|
||||
@ -32,6 +30,3 @@ mkdir -p $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/lib/udev/rules.d
|
||||
cp $PKG_BUILD/driver/linux/*.rules $INSTALL/lib/udev/rules.d
|
||||
|
||||
mkdir -p $INSTALL/lib/modules/$VER/crystalhd
|
||||
cp $PKG_BUILD/driver/linux/crystalhd.ko $INSTALL/lib/modules/$VER/crystalhd
|
||||
|
@ -19,12 +19,13 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="crystalhd"
|
||||
PKG_VERSION="171"
|
||||
PKG_VERSION="fdd2f19"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://code.google.com/p/crystalhd-for-osx/"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
#PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS="linux"
|
||||
PKG_BUILD_DEPENDS="toolchain linux"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff -Naur crystalhd-171/include/bc_dts_glob_lnx.h crystalhd-171.patch/include/bc_dts_glob_lnx.h
|
||||
--- crystalhd-171/include/bc_dts_glob_lnx.h 2010-10-18 01:56:14.000000000 +0200
|
||||
+++ crystalhd-171.patch/include/bc_dts_glob_lnx.h 2010-10-24 02:53:16.739741578 +0200
|
||||
@@ -76,8 +76,8 @@
|
||||
BC_LINK_MAX_OPENS = 3, /* Maximum simultaneous opens*/
|
||||
BC_LINK_MAX_SGLS = 1024, /* Maximum SG elements 4M/4K */
|
||||
BC_TX_LIST_CNT = 2, /* Max Tx DMA Rings */
|
||||
- //BC_RX_LIST_CNT = 8, /* Max Rx DMA Rings*/
|
||||
- BC_RX_LIST_CNT = 16, /* Max Rx DMA Rings*/
|
||||
+ BC_RX_LIST_CNT = 8, /* Max Rx DMA Rings*/
|
||||
+ //BC_RX_LIST_CNT = 16, /* Max Rx DMA Rings*/
|
||||
BC_PROC_OUTPUT_TIMEOUT = 2000, /* Milliseconds */
|
||||
BC_INFIFO_THRESHOLD = 0x10000,
|
||||
};
|
43
tools/mkpkg/mkpkg_libcrystalhd
Executable file
43
tools/mkpkg/mkpkg_libcrystalhd
Executable file
@ -0,0 +1,43 @@
|
||||
#!/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
|
||||
################################################################################
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d crystalhd.git ]; then
|
||||
git clone git://linuxtv.org/jarod/crystalhd.git crystalhd.git
|
||||
fi
|
||||
|
||||
cd crystalhd.git
|
||||
git pull
|
||||
GIT_REV=`git log -n1 --format=%h`
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf crystalhd-$GIT_REV
|
||||
cp -R crystalhd.git crystalhd-$GIT_REV
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf crystalhd-$GIT_REV/.git
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf crystalhd-$GIT_REV.tar.xz crystalhd-$GIT_REV
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf crystalhd-$GIT_REV
|
Loading…
x
Reference in New Issue
Block a user