forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request LibreELEC#54 from vpeter4/imx6.kernel
imx6: update kernel, prepare for second kernel
- Loading branch information
Showing
84 changed files
with
571 additions
and
74,944 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
################################################################################ | ||
# This file is part of OpenELEC - http://www.openelec.tv | ||
# Copyright (C) 2009-2016 Stephan Raue ([email protected]) | ||
# | ||
# OpenELEC 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 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# OpenELEC 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. If not, see <http://www.gnu.org/licenses/>. | ||
################################################################################ | ||
|
||
PKG_NAME="imx-gpu-viv" | ||
PKG_VERSION="5.0.11.p4.5-hfp" | ||
PKG_REV="1" | ||
PKG_ARCH="arm" | ||
PKG_LICENSE="nonfree" | ||
PKG_SITE="http://www.freescale.com" | ||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" | ||
PKG_DEPENDS_TARGET="toolchain" | ||
PKG_PRIORITY="optional" | ||
PKG_SECTION="graphics" | ||
PKG_SHORTDESC="imx-gpu-viv: OpenGL-ES and VIVANTE driver for imx6q" | ||
PKG_LONGDESC="imx-gpu-viv: OpenGL-ES and VIVANTE driver for imx6q" | ||
PKG_IS_ADDON="no" | ||
PKG_AUTORECONF="no" | ||
|
||
make_target() { | ||
: # nothing to make | ||
} | ||
|
||
makeinstall_target() { | ||
mkdir -p $SYSROOT_PREFIX/usr/include | ||
cp -PRv gpu-core/usr/include/* $SYSROOT_PREFIX/usr/include | ||
cp -PRv g2d/usr/include/* $SYSROOT_PREFIX/usr/include | ||
|
||
LIBS_COPY="gpu-core/usr/lib/libEGL-fb.so \ | ||
gpu-core/usr/lib/libEGL.so* \ | ||
gpu-core/usr/lib/libGLES_CL.so* \ | ||
gpu-core/usr/lib/libGLES_CM.so* \ | ||
gpu-core/usr/lib/libGLESv1_CL.so* \ | ||
gpu-core/usr/lib/libGLESv1_CM.so* \ | ||
gpu-core/usr/lib/libGLESv2-fb.so \ | ||
gpu-core/usr/lib/libGLESv2.so* \ | ||
gpu-core/usr/lib/libGLSLC.so* \ | ||
gpu-core/usr/lib/libGAL-fb.so \ | ||
gpu-core/usr/lib/libGAL.so* \ | ||
gpu-core/usr/lib/libGAL_egl.fb.so \ | ||
gpu-core/usr/lib/libGAL_egl.so* \ | ||
gpu-core/usr/lib/libVIVANTE-fb.so \ | ||
gpu-core/usr/lib/libVIVANTE.so* \ | ||
gpu-core/usr/lib/libOpenCL.so \ | ||
gpu-core/usr/lib/libVSC.so \ | ||
g2d/usr/lib/libg2d*.so*" | ||
|
||
mkdir -p $SYSROOT_PREFIX/usr/lib | ||
cp -PRv $LIBS_COPY $SYSROOT_PREFIX/usr/lib | ||
|
||
mkdir -p $INSTALL/usr/lib | ||
cp -PRv $LIBS_COPY $INSTALL/usr/lib | ||
} | ||
|
||
post_install() { | ||
enable_service unbind-console.service | ||
} |
11 changes: 11 additions & 0 deletions
11
packages/graphics/imx-gpu-viv/system.d/unbind-console.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=unbind Framebuffer console | ||
|
||
ConditionPathExists=/sys/class/vtconsole/vtcon1/bind | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind' | ||
|
||
[Install] | ||
WantedBy=graphical.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.