mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #1848 from stefansaraev/intel-gpu-tools
add intel-gpu-tools
This commit is contained in:
commit
d6f40823fa
@ -50,13 +50,6 @@ sed -i -e "s|^CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"$ROOT/$BUILD
|
|||||||
sed -i -e "s|^CONFIG_SWAP=.*$|# CONFIG_SWAP is not set|" $LINUX/.config
|
sed -i -e "s|^CONFIG_SWAP=.*$|# CONFIG_SWAP is not set|" $LINUX/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# dont install some debug stuff on release builds
|
|
||||||
if [ ! "$DEVTOOLS" = yes ]; then
|
|
||||||
sed -i -e "s|^CONFIG_DEBUG_FS=.*$|# CONFIG_DEBUG_FS is not set|" $LINUX/.config
|
|
||||||
# sed -i -e "s|^CONFIG_NET_SCHED=.*$|# CONFIG_NET_SCHED is not set|" $LINUX/.config
|
|
||||||
# sed -i -e "s|^CONFIG_NET_SCH_NETEM=.*$|# CONFIG_NET_SCH_NETEM is not set|" $LINUX/.config
|
|
||||||
fi
|
|
||||||
|
|
||||||
# copy some extra firmware to linux tree
|
# copy some extra firmware to linux tree
|
||||||
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
||||||
|
|
||||||
|
@ -31,3 +31,4 @@ progress "mounting needed filesystems"
|
|||||||
mount -n -t tmpfs none /dev/shm
|
mount -n -t tmpfs none /dev/shm
|
||||||
|
|
||||||
mount -n -t ramfs none /var
|
mount -n -t ramfs none /var
|
||||||
|
mount -n -t debugfs none /sys/kernel/debug
|
||||||
|
@ -25,7 +25,7 @@ PKG_ARCH="i386 x86_64"
|
|||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://intellinuxgraphics.org/"
|
PKG_SITE="http://intellinuxgraphics.org/"
|
||||||
PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="systemd"
|
PKG_DEPENDS="systemd intel-gpu-tools"
|
||||||
PKG_BUILD_DEPENDS="toolchain util-macros fontsproto systemd xorg-server"
|
PKG_BUILD_DEPENDS="toolchain util-macros fontsproto systemd xorg-server"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="x11/driver"
|
PKG_SECTION="x11/driver"
|
||||||
|
33
packages/x11/other/intel-gpu-tools/build
Executable file
33
packages/x11/other/intel-gpu-tools/build
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
#!/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
|
||||||
|
mkdir -p m4 && do_autoreconf
|
||||||
|
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--disable-nouveau \
|
||||||
|
|
||||||
|
make
|
26
packages/x11/other/intel-gpu-tools/install
Executable file
26
packages/x11/other/intel-gpu-tools/install
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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/bin
|
||||||
|
cp -R $PKG_BUILD/tools/intel_reg_write $INSTALL/usr/bin
|
37
packages/x11/other/intel-gpu-tools/meta
Normal file
37
packages/x11/other/intel-gpu-tools/meta
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
################################################################################
|
||||||
|
# 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="intel-gpu-tools"
|
||||||
|
PKG_VERSION="1.2"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="i386 x86_64"
|
||||||
|
PKG_LICENSE="OSS"
|
||||||
|
PKG_SITE="http://xorg.freedesktop.org"
|
||||||
|
#PKG_URL="http://xorg.freedesktop.org/archive/individual/app/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_URL="http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_DEPENDS="libdrm"
|
||||||
|
PKG_BUILD_DEPENDS="toolchain libdrm"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="x11/other"
|
||||||
|
PKG_SHORTDESC="tools for debugging the Intel graphics driver"
|
||||||
|
PKG_LONGDESC="tools for debugging the Intel graphics driver"
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
|
PKG_AUTORECONF="no"
|
@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 6cd724c..9e77183 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
-SUBDIRS = lib man tools scripts tests benchmarks demos
|
||||||
|
+SUBDIRS = lib man tools scripts benchmarks demos
|
||||||
|
|
||||||
|
if BUILD_SHADER_DEBUGGER
|
||||||
|
SUBDIRS += debugger
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 94d54a6..236904a 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -57,7 +57,6 @@ PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.31 libdrm])
|
||||||
|
PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
|
||||||
|
|
||||||
|
# for testdisplay
|
||||||
|
-PKG_CHECK_MODULES(CAIRO, cairo)
|
||||||
|
PKG_CHECK_MODULES(LIBUDEV, [libudev], [udev=yes], [udev=no])
|
||||||
|
if test x"$udev" = xyes; then
|
||||||
|
AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection])
|
Loading…
x
Reference in New Issue
Block a user