From bf40ac3d7776b46ebdf8aaae76cb9711e0ac69dc Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:11:47 -0800 Subject: [PATCH 01/10] imx6-status-led: remove package --- packages/sysutils/imx6-status-led/package.mk | 42 ---------------- .../imx6-status-led/scripts/imx6-status-led | 48 ------------------- .../imx6-status-led/scripts/imx6-system-type | 44 ----------------- .../system.d/imx6-status-led.service | 12 ----- 4 files changed, 146 deletions(-) delete mode 100644 packages/sysutils/imx6-status-led/package.mk delete mode 100755 packages/sysutils/imx6-status-led/scripts/imx6-status-led delete mode 100755 packages/sysutils/imx6-status-led/scripts/imx6-system-type delete mode 100644 packages/sysutils/imx6-status-led/system.d/imx6-status-led.service diff --git a/packages/sysutils/imx6-status-led/package.mk b/packages/sysutils/imx6-status-led/package.mk deleted file mode 100644 index 66c573b043..0000000000 --- a/packages/sysutils/imx6-status-led/package.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="imx6-status-led" -PKG_VERSION="1.0" -PKG_ARCH="arm" -PKG_LICENSE="GPL" -PKG_SITE="http://www.openelec.tv/" -PKG_URL="" -PKG_DEPENDS_TARGET="" -PKG_SECTION="system" -PKG_SHORTDESC="i.MX6 status LED control" -PKG_LONGDESC="Front status LED control for i.MX6 systems" -PKG_AUTORECONF="no" - -make_target() { - : # nothing -} - -makeinstall_target() { - mkdir -p $INSTALL/usr/lib/libreelec - cp $PKG_DIR/scripts/* $INSTALL/usr/lib/libreelec -} - -post_install() { - enable_service imx6-status-led.service -} diff --git a/packages/sysutils/imx6-status-led/scripts/imx6-status-led b/packages/sysutils/imx6-status-led/scripts/imx6-status-led deleted file mode 100755 index d3ef9e05b0..0000000000 --- a/packages/sysutils/imx6-status-led/scripts/imx6-status-led +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2015 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -. /usr/lib/libreelec/imx6-system-type - -case "$1" in - "on") - TRIGGER=default-on - ;; - "heartbeat") - TRIGGER=heartbeat - ;; - *) - exit 0 - ;; -esac - -case "$SYSTEM_TYPE" in - "matrix") - LED="/sys/class/leds/red/trigger" - ;; - "cuboxi") - LED="/sys/class/leds/imx6:red:front/trigger" - ;; - *) - exit 0 - ;; -esac - -echo "$TRIGGER" > "$LED" - diff --git a/packages/sysutils/imx6-status-led/scripts/imx6-system-type b/packages/sysutils/imx6-status-led/scripts/imx6-system-type deleted file mode 100755 index 988c741790..0000000000 --- a/packages/sysutils/imx6-status-led/scripts/imx6-system-type +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2015 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -# $ cat /sys/devices/soc0/machine -# Freescale i.MX6 Quad SABRE Smart Device Board -# $ cat /sys/devices/soc0/machine -# TBS Matrix -# $ cat /sys/devices/soc0/family -# Freescale i.MX -# $ cat /sys/devices/soc0/soc_id -# i.MX6Q -# $ cat /sys/devices/soc0/revision -# 1.2 - -SYSTEM_TYPE=$(cat /sys/bus/soc/devices/soc0/machine) -case "$SYSTEM_TYPE" in - "TBS Matrix") - export SYSTEM_TYPE="matrix" - ;; - "SolidRun Cubox-i Dual/Quad"|"SolidRun Cubox-i Solo/DualLite") - export SYSTEM_TYPE="cuboxi" - ;; - "Udoo i.MX6 Dual-lite Board"|"Udoo i.MX6 Quad Board") - export SYSTEM_TYPE="udoo" - ;; - *) - export SYSTEM_TYPE="undef" - ;; -esac diff --git a/packages/sysutils/imx6-status-led/system.d/imx6-status-led.service b/packages/sysutils/imx6-status-led/system.d/imx6-status-led.service deleted file mode 100644 index 464739f665..0000000000 --- a/packages/sysutils/imx6-status-led/system.d/imx6-status-led.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=i.MX6 status led -After=kodi.service - -[Service] -Type=oneshot -ExecStart=-/bin/sh -c "/usr/lib/libreelec/imx6-status-led on" -ExecStop=-/bin/sh -c "/usr/lib/libreelec/imx6-status-led heartbeat" -RemainAfterExit=yes - -[Install] -WantedBy=kodi.target From fce3960ae6ac3fc344fa969ff1307d5390d7e24a Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:12:16 -0800 Subject: [PATCH 02/10] imx6-soc-fan: remove package --- .../imx6-soc-fan/bin/imx6-soc-fan-control | 67 --------------- .../config/imx6-soc-fan-monitor.conf.sample | 37 --------- packages/sysutils/imx6-soc-fan/package.mk | 48 ----------- .../imx6-soc-fan/scripts/imx6-soc-fan-monitor | 83 ------------------- .../system.d/imx6-soc-fan-monitor.service | 13 --- 5 files changed, 248 deletions(-) delete mode 100755 packages/sysutils/imx6-soc-fan/bin/imx6-soc-fan-control delete mode 100644 packages/sysutils/imx6-soc-fan/config/imx6-soc-fan-monitor.conf.sample delete mode 100644 packages/sysutils/imx6-soc-fan/package.mk delete mode 100755 packages/sysutils/imx6-soc-fan/scripts/imx6-soc-fan-monitor delete mode 100644 packages/sysutils/imx6-soc-fan/system.d/imx6-soc-fan-monitor.service diff --git a/packages/sysutils/imx6-soc-fan/bin/imx6-soc-fan-control b/packages/sysutils/imx6-soc-fan/bin/imx6-soc-fan-control deleted file mode 100755 index 699706848f..0000000000 --- a/packages/sysutils/imx6-soc-fan/bin/imx6-soc-fan-control +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2015 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -. /usr/lib/libreelec/imx6-system-type - -if [ "$SYSTEM_TYPE" != "matrix" ]; then - echo "Only for TBS Matrix system." - exit 12 -fi - -fan_on() { - echo 1 > /sys/class/leds/fan/brightness -} - -fan_off() { - echo 0 > /sys/class/leds/fan/brightness -} - -soc_temp() { - local temp=$(cat /sys/devices/virtual/thermal/thermal_zone0/temp) - temp="$(( $temp / 1000 ))" - echo "$temp" -} - -echo "SoC temp: $(soc_temp) C" - -ACTION=$1 -INTERVAL=$2 - -if [ -n "$ACTION" -a "$ACTION" = "on" ]; then - echo "Turning fan on." - fan_on -elif [ -n "$ACTION" -a "$ACTION" = "off" ]; then - echo "Turning fan off." - fan_off -elif [ -n "$ACTION" -a "$ACTION" = "log" ]; then - if [ -n "$INTERVAL" ]; then - interval=$INTERVAL - else - interval=60 - fi - - while true; do - echo "SoC temp: $(soc_temp) C" - - sleep $interval - done -else - echo "Unknown argument - must be on, off or log [interval]." -fi diff --git a/packages/sysutils/imx6-soc-fan/config/imx6-soc-fan-monitor.conf.sample b/packages/sysutils/imx6-soc-fan/config/imx6-soc-fan-monitor.conf.sample deleted file mode 100644 index a8da70d4d0..0000000000 --- a/packages/sysutils/imx6-soc-fan/config/imx6-soc-fan-monitor.conf.sample +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2015 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -# -# imx6-soc-fan-monitor.conf.sample - i.MX6 SoC fan monitor config file -# used only for TBS Matrix system -# - -# default limits without config file -# when fan is turned on -# high=70 -# when fan is turned off -# low=60 -# temperature checking interval -# interval=30 -# periodically show temperature -# debug=no - -high=70 -low=55 -interval=30 -debug=no diff --git a/packages/sysutils/imx6-soc-fan/package.mk b/packages/sysutils/imx6-soc-fan/package.mk deleted file mode 100644 index 1232d49ff6..0000000000 --- a/packages/sysutils/imx6-soc-fan/package.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="imx6-soc-fan" -PKG_VERSION="1.0" -PKG_ARCH="arm" -PKG_LICENSE="GPL" -PKG_SITE="http://www.openelec.tv/" -PKG_URL="" -PKG_DEPENDS_TARGET="imx6-status-led" -PKG_SECTION="system" -PKG_SHORTDESC="i.MX6 SoC fan monitor" -PKG_LONGDESC="i.MX6 SoC fan monitor for TBS Matrix system" -PKG_AUTORECONF="no" - -make_target() { - : # nothing -} - -makeinstall_target() { - mkdir -p $INSTALL/usr/config - cp $PKG_DIR/config/* $INSTALL/usr/config - - mkdir -p $INSTALL/usr/bin - cp $PKG_DIR/bin/* $INSTALL/usr/bin - - mkdir -p $INSTALL/usr/lib/libreelec - cp $PKG_DIR/scripts/* $INSTALL/usr/lib/libreelec -} - -post_install() { - enable_service imx6-soc-fan-monitor.service -} diff --git a/packages/sysutils/imx6-soc-fan/scripts/imx6-soc-fan-monitor b/packages/sysutils/imx6-soc-fan/scripts/imx6-soc-fan-monitor deleted file mode 100755 index 4f1cbae804..0000000000 --- a/packages/sysutils/imx6-soc-fan/scripts/imx6-soc-fan-monitor +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2015 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -. /usr/lib/libreelec/imx6-system-type - -if [ "$SYSTEM_TYPE" != "matrix" ]; then - echo "Only for TBS Matrix system." - exit 12 -fi - -debug_echo() { - if [ -n "$debug" -a "$debug" == "yes" ]; then - echo $* - fi -} - -fan_on() { - echo 1 > /sys/class/leds/fan/brightness -} - -fan_off() { - echo 0 > /sys/class/leds/fan/brightness -} - -soc_temp() { - local temp=$(cat /sys/devices/virtual/thermal/thermal_zone0/temp) - temp="$(( $temp / 1000 ))" - echo "$temp" -} - -# default limits -high=75 -low=60 -interval=30 -debug=no - -userconfig=/storage/.config/imx6-soc-fan-monitor.conf -if [ -e $userconfig ]; then - . $userconfig - echo "Values from config: low=$low high=$high interval=$interval debug=$debug" -else - echo "Default values: low=$low high=$high interval=$interval debug=$debug" -fi - -#( -# # turn fan on for a moment -# fan_on -# sleep 2 -# fan_off -#)& - -while true; do - temp=$(soc_temp) - debug_echo "SoC temp: $temp [low: $low, high: $high]" - if [ $temp -gt $high ]; then - debug_echo "SoC temp exceeds $high celsius, fan on" - fan_on - fi - - if [ $temp -lt $low ]; then - debug_echo "SoC temp below $low celsius, fan off" - fan_off - fi - - sleep $interval -done diff --git a/packages/sysutils/imx6-soc-fan/system.d/imx6-soc-fan-monitor.service b/packages/sysutils/imx6-soc-fan/system.d/imx6-soc-fan-monitor.service deleted file mode 100644 index 33053c75d9..0000000000 --- a/packages/sysutils/imx6-soc-fan/system.d/imx6-soc-fan-monitor.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=i.MX6 SoC fan monitor service - -[Service] -ExecStart=/bin/sh -c "exec /bin/sh /usr/lib/libreelec/imx6-soc-fan-monitor" -RestartPreventExitStatus=12 -TimeoutStopSec=5 -Restart=always -RestartSec=60 -StartLimitInterval=0 - -[Install] -WantedBy=multi-user.target From ee02f0cdea6ddf51ee96738fa6890938f7a4d7ac Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:12:38 -0800 Subject: [PATCH 03/10] gpu-viv-bin-mx6q: remove package --- packages/graphics/gpu-viv-bin-mx6q/package.mk | 64 ------------------- .../system.d/unbind-console.service | 11 ---- 2 files changed, 75 deletions(-) delete mode 100644 packages/graphics/gpu-viv-bin-mx6q/package.mk delete mode 100644 packages/graphics/gpu-viv-bin-mx6q/system.d/unbind-console.service diff --git a/packages/graphics/gpu-viv-bin-mx6q/package.mk b/packages/graphics/gpu-viv-bin-mx6q/package.mk deleted file mode 100644 index ff7c3cf308..0000000000 --- a/packages/graphics/gpu-viv-bin-mx6q/package.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="gpu-viv-bin-mx6q" -PKG_VERSION="3.10.17-1.0.2-hfp" -PKG_SHA256="fcf5cc1c2507d77b6ecaef6defd63fbd604be5a765f86922530cb423a595a592" -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 gpu-viv-g2d" -PKG_SECTION="graphics" -PKG_SHORTDESC="gpu-viv-bin-mx6q: OpenGL-ES and VIVANTE driver for imx6q" -PKG_LONGDESC="gpu-viv-bin-mx6q: OpenGL-ES and VIVANTE driver for imx6q" -PKG_AUTORECONF="no" - -make_target() { - : # nothing to make -} - -makeinstall_target() { - mkdir -p $SYSROOT_PREFIX/usr/include - cp -PRv usr/include/* $SYSROOT_PREFIX/usr/include - - LIBS_COPY="usr/lib/libEGL-fb.so \ - usr/lib/libEGL.so* \ - usr/lib/libGLES_CL.so \ - usr/lib/libGLES_CM.so \ - usr/lib/libGLESv1_CL.so* \ - usr/lib/libGLESv1_CM.so* \ - usr/lib/libGLESv2-fb.so \ - usr/lib/libGLESv2.so* \ - usr/lib/libGLSLC.so* \ - usr/lib/libGAL-fb.so \ - usr/lib/libGAL.so* \ - usr/lib/libVIVANTE-fb.so \ - usr/lib/libVIVANTE.so* \ - usr/lib/libOpenCL.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 -} diff --git a/packages/graphics/gpu-viv-bin-mx6q/system.d/unbind-console.service b/packages/graphics/gpu-viv-bin-mx6q/system.d/unbind-console.service deleted file mode 100644 index af5e5d44c4..0000000000 --- a/packages/graphics/gpu-viv-bin-mx6q/system.d/unbind-console.service +++ /dev/null @@ -1,11 +0,0 @@ -[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 From 2cede38ea0ca85a0fa139dc7064a72bae724f8e3 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:12:51 -0800 Subject: [PATCH 04/10] gpu-viv-g2d: remove package --- packages/graphics/gpu-viv-g2d/package.mk | 42 ------------------------ 1 file changed, 42 deletions(-) delete mode 100644 packages/graphics/gpu-viv-g2d/package.mk diff --git a/packages/graphics/gpu-viv-g2d/package.mk b/packages/graphics/gpu-viv-g2d/package.mk deleted file mode 100644 index e9a54e9a56..0000000000 --- a/packages/graphics/gpu-viv-g2d/package.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="gpu-viv-g2d" -PKG_VERSION="3.10.17-1.0.2" -PKG_SHA256="ef1c2426b515f3992a3efba4f879baebcc61597e0ce7b68b6d78998d0801715a" -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_SECTION="graphics" -PKG_SHORTDESC="gpu-viv-g2d: Another vivante Binary for performant resizing" -PKG_LONGDESC="gpu-viv-g2d: Another vivante Binary for performant resizing" -PKG_AUTORECONF="no" - -make_target() { - : # nothing to make all binary -} - -makeinstall_target() { - mkdir -p $SYSROOT_PREFIX/usr - cp -PRv usr/* $SYSROOT_PREFIX/usr - - mkdir -p $INSTALL/usr/lib - cp -PRv usr/lib/* $INSTALL/usr/lib -} From f594e1c169fff7f7dae0f1aad400f57a452e9156 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:13:05 -0800 Subject: [PATCH 05/10] imx-gpu-viv: remove package --- packages/graphics/imx-gpu-viv/package.mk | 81 ------------------- .../system.d/unbind-console.service | 11 --- 2 files changed, 92 deletions(-) delete mode 100644 packages/graphics/imx-gpu-viv/package.mk delete mode 100644 packages/graphics/imx-gpu-viv/system.d/unbind-console.service diff --git a/packages/graphics/imx-gpu-viv/package.mk b/packages/graphics/imx-gpu-viv/package.mk deleted file mode 100644 index 60b90163f3..0000000000 --- a/packages/graphics/imx-gpu-viv/package.mk +++ /dev/null @@ -1,81 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="imx-gpu-viv" -if [ "$LINUX" = "imx6-3.14-sr" ]; then - PKG_VERSION="5.0.11.p4.5-hfp" - PKG_SHA256="2dfcacd17f8009b1a235a2df2b398f22afccb6f671953e442c04cd74234312f0" -elif [ "$LINUX" = "imx6-4.4-xbian" ]; then - PKG_VERSION="5.0.11.p7.4-hfp" - PKG_SHA256="252b2a8badbc74ca91916490782225affba3908813374baaa7d6267f1de9dae6" -else - exit 0 -fi -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_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_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/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*" - - # missing in 5.0.11.p7.4-hfp - if [ "$PKG_VERSION" = "5.0.11.p4.5-hfp" ]; then - LIBS_COPY="$LIBS_COPY \ - gpu-core/usr/lib/libGAL_egl.fb.so \ - gpu-core/usr/lib/libGAL_egl.so*" - fi - - 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 -} diff --git a/packages/graphics/imx-gpu-viv/system.d/unbind-console.service b/packages/graphics/imx-gpu-viv/system.d/unbind-console.service deleted file mode 100644 index af5e5d44c4..0000000000 --- a/packages/graphics/imx-gpu-viv/system.d/unbind-console.service +++ /dev/null @@ -1,11 +0,0 @@ -[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 From bcd71a2c2a4013430e894bb5d3563e9925f6a5fa Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:13:39 -0800 Subject: [PATCH 06/10] imx-vpu: remove package --- packages/multimedia/imx-vpu/package.mk | 39 -------------------------- 1 file changed, 39 deletions(-) delete mode 100644 packages/multimedia/imx-vpu/package.mk diff --git a/packages/multimedia/imx-vpu/package.mk b/packages/multimedia/imx-vpu/package.mk deleted file mode 100644 index d1a3edcf70..0000000000 --- a/packages/multimedia/imx-vpu/package.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="imx-vpu" -PKG_VERSION="5.4.33" -PKG_SHA256="8140a433ef8ab5e39112b0b99dbf612b3db5e697a47c01178df066da6bad77ea" -PKG_ARCH="arm" -PKG_LICENSE="other" -PKG_SITE="http://www.freescale.com" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS_TARGET="toolchain firmware-imx" -PKG_SECTION="multimedia" -PKG_SHORTDESC="imx-vpu: platform specific unit tests for mxc platform" -PKG_LONGDESC="imx-vpu: platform specific unit tests for mxc platform" -PKG_AUTORECONF="no" - -make_target() { - make DIRS="vpu" CFLAGS="$CFLAGS" PLATFORM=IMX6Q CROSS_COMPILE=$TARGET_PREFIX -} - -makeinstall_target() { - make DIRS="vpu" PLATFORM=IMX6Q DEST_DIR=$SYSROOT_PREFIX install - make DIRS="vpu" PLATFORM=IMX6Q DEST_DIR=$INSTALL install -} From e05d45f5cd54058f623cbc99f90e78e5a3a943e7 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:13:55 -0800 Subject: [PATCH 07/10] libfslvpuwrap: remove package --- packages/multimedia/libfslvpuwrap/package.mk | 34 -------------------- 1 file changed, 34 deletions(-) delete mode 100644 packages/multimedia/libfslvpuwrap/package.mk diff --git a/packages/multimedia/libfslvpuwrap/package.mk b/packages/multimedia/libfslvpuwrap/package.mk deleted file mode 100644 index a1fdcf43f5..0000000000 --- a/packages/multimedia/libfslvpuwrap/package.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="libfslvpuwrap" -PKG_VERSION="1.0.65" -PKG_SHA256="abe8ebeaf708c93b4ef61b4b181139b18b2136ddc7f53749fd5c0a613cde874e" -PKG_ARCH="arm" -PKG_LICENSE="other" -PKG_SITE="http://www.freescale.com" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS_TARGET="toolchain imx-vpu" -PKG_SECTION="multimedia" -PKG_SHORTDESC="libfslvpuwrap: Freescale Multimedia VPU wrapper" -PKG_LONGDESC="libfslvpuwrap: Freescale Multimedia VPU wrapper" -PKG_AUTORECONF="yes" - -post_makeinstall_target() { - rm -rf $INSTALL/usr/share -} From d32afc8d863d79ad26cd3c7834c55cb36b588177 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:14:19 -0800 Subject: [PATCH 08/10] mkpkg_linux-imx6: remove script --- tools/mkpkg/mkpkg_linux-imx6 | 41 ------------------------------------ 1 file changed, 41 deletions(-) delete mode 100755 tools/mkpkg/mkpkg_linux-imx6 diff --git a/tools/mkpkg/mkpkg_linux-imx6 b/tools/mkpkg/mkpkg_linux-imx6 deleted file mode 100755 index 82ad0dd503..0000000000 --- a/tools/mkpkg/mkpkg_linux-imx6 +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -echo "getting sources..." - if [ ! -d linux-imx_3.14.x.git ]; then - git clone git@github.com:SolidRun/linux-imx6-3.14.git -b linux-linaro-lsk-v3.14-mx6 linux-imx_3.14.x.git - fi - - cd linux-imx_3.14.x.git - git pull - GIT_REV=`git log -n1 --format=%h` - cd .. - -echo "copying sources..." - rm -rf linux-cuboxi-3.14-$GIT_REV - cp -R linux-imx_3.14.x.git linux-cuboxi-3.14-$GIT_REV - -echo "cleaning sources..." - rm -rf linux-cuboxi-3.14-$GIT_REV/.git - -echo "packing sources..." - tar cvJf linux-cuboxi-3.14-$GIT_REV.tar.xz linux-cuboxi-3.14-$GIT_REV - -echo "remove temporary sourcedir..." - rm -rf linux-cuboxi-3.14-$GIT_REV From 81ec48a36545931f398aee7ca3b3fdec441c0b7e Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:14:35 -0800 Subject: [PATCH 09/10] imx6-mfgtool2-tbs-matrix: remove package --- .../tools/imx6-mfgtool2-tbs-matrix/package.mk | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 packages/tools/imx6-mfgtool2-tbs-matrix/package.mk diff --git a/packages/tools/imx6-mfgtool2-tbs-matrix/package.mk b/packages/tools/imx6-mfgtool2-tbs-matrix/package.mk deleted file mode 100644 index f62dde6153..0000000000 --- a/packages/tools/imx6-mfgtool2-tbs-matrix/package.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# 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 . -################################################################################ - -PKG_NAME="imx6-mfgtool2-tbs-matrix" -PKG_VERSION="1.0" -PKG_SHA256="c342b547d7493f60ba562c671e694a9e84b80b279880a891ca7962b72bdd8a69" -PKG_ARCH="arm" -PKG_LICENSE="GPL" -PKG_SITE="http://sourceforge.net/projects/matrixtv/" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.zip" -PKG_DEPENDS_TARGET="" -PKG_SECTION="tools" -PKG_SHORTDESC="MfgTool2 flash tool" -PKG_LONGDESC="Freescales manufacturing tool for flashing image to TBS Matrix system" -PKG_AUTORECONF="no" - -make_target() { - : # nothing -} - -makeinstall_target() { - : # install from image script -} From 0dd697faf2f93d9df6c3addeb60eb15a0344870b Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 11 Nov 2017 09:15:40 -0800 Subject: [PATCH 10/10] remove various imx related references --- .../moonlight-embedded/package.mk | 7 ------- .../repository.linuxserver.docker/package.mk | 2 +- packages/addons/script/moonlight/package.mk | 2 -- packages/addons/service/docker/package.mk | 2 +- .../addons/service/touchscreen/package.mk | 2 +- packages/devel/libcec/package.mk | 10 ++-------- packages/linux/package.mk | 20 ------------------- .../screensaver.shadertoy/package.mk | 3 --- .../visualization.shadertoy/package.mk | 3 --- packages/mediacenter/kodi/package.mk | 4 ---- 10 files changed, 5 insertions(+), 50 deletions(-) diff --git a/packages/addons/addon-depends/moonlight-embedded/package.mk b/packages/addons/addon-depends/moonlight-embedded/package.mk index ef3c0e3cda..bfe37a6589 100644 --- a/packages/addons/addon-depends/moonlight-embedded/package.mk +++ b/packages/addons/addon-depends/moonlight-embedded/package.mk @@ -32,9 +32,6 @@ PKG_AUTORECONF="no" FREESCALE_V4L_INCLUDE="" if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver" -elif [ "$KODIPLAYER_DRIVER" = "libfslvpuwrap" ]; then - PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libfslvpuwrap gpu-viv-bin-mx6q v4l-utils" - FREESCALE_V4L_INCLUDE="-DFREESCALE_INCLUDE_DIR=$(get_build_dir v4l-utils)/lib/include" elif [ "$KODIPLAYER_DRIVER" = "libamcodec" ]; then PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libamcodec" elif [ "$DISPLAYSERVER" = "x11" ]; then @@ -47,10 +44,6 @@ pre_build_target() { cp -a $(get_build_dir moonlight-common-c)/* $PKG_BUILD/third_party/moonlight-common-c } -pre_configure_target() { - [ "$PROJECT" = "imx6" ] && strip_gold || true -} - makeinstall_target() { : } diff --git a/packages/addons/repository/repository.linuxserver.docker/package.mk b/packages/addons/repository/repository.linuxserver.docker/package.mk index 5de8eaa2b9..b0cf7543af 100644 --- a/packages/addons/repository/repository.linuxserver.docker/package.mk +++ b/packages/addons/repository/repository.linuxserver.docker/package.mk @@ -20,7 +20,7 @@ PKG_NAME="repository.linuxserver.docker" PKG_VERSION="9.0" PKG_REV="102" PKG_ARCH="any" -PKG_ADDON_PROJECTS="Generic RPi RPi2 imx6 WeTek_Hub WeTek_Play_2 Odroid_C2" +PKG_ADDON_PROJECTS="Generic RPi RPi2 WeTek_Hub WeTek_Play_2 Odroid_C2" PKG_LICENSE="GPL" PKG_SITE="https://linuxserver.io" PKG_URL="" diff --git a/packages/addons/script/moonlight/package.mk b/packages/addons/script/moonlight/package.mk index f413480e73..2cbfc32755 100644 --- a/packages/addons/script/moonlight/package.mk +++ b/packages/addons/script/moonlight/package.mk @@ -70,8 +70,6 @@ addon() { if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then cp -P $(get_build_dir moonlight-embedded)/.$TARGET_NAME/libmoonlight-pi.so $ADDON_BUILD/$PKG_ADDON_ID/lib - elif [ "$KODIPLAYER_DRIVER" = "libfslvpuwrap" ]; then - cp -P $(get_build_dir moonlight-embedded)/.$TARGET_NAME/libmoonlight-imx.so $ADDON_BUILD/$PKG_ADDON_ID/lib elif [ "$KODIPLAYER_DRIVER" = "libamcodec" ]; then cp -P $(get_build_dir moonlight-embedded)/.$TARGET_NAME/libmoonlight-aml.so $ADDON_BUILD/$PKG_ADDON_ID/lib fi diff --git a/packages/addons/service/docker/package.mk b/packages/addons/service/docker/package.mk index 6e45f9137d..f96762336b 100644 --- a/packages/addons/service/docker/package.mk +++ b/packages/addons/service/docker/package.mk @@ -20,7 +20,7 @@ PKG_NAME="docker" PKG_VERSION="" PKG_REV="116" PKG_ARCH="any" -PKG_ADDON_PROJECTS="Generic RPi RPi2 imx6 WeTek_Hub WeTek_Play_2 Odroid_C2" +PKG_ADDON_PROJECTS="Generic RPi RPi2 WeTek_Hub WeTek_Play_2 Odroid_C2" PKG_LICENSE="" PKG_SITE="http://www.docker.com/" PKG_DEPENDS_TARGET="toolchain moby" diff --git a/packages/addons/service/touchscreen/package.mk b/packages/addons/service/touchscreen/package.mk index df1ed8a11e..f129d24300 100644 --- a/packages/addons/service/touchscreen/package.mk +++ b/packages/addons/service/touchscreen/package.mk @@ -20,7 +20,7 @@ PKG_NAME="touchscreen" PKG_VERSION="1.0" PKG_REV="101" PKG_ARCH="any" -PKG_ADDON_PROJECTS="Generic RPi RPi2 imx6" +PKG_ADDON_PROJECTS="Generic RPi RPi2" PKG_LICENSE="GPL" PKG_SITE="" PKG_URL="" diff --git a/packages/devel/libcec/package.mk b/packages/devel/libcec/package.mk index 86f58505c4..24cd2e7a0d 100644 --- a/packages/devel/libcec/package.mk +++ b/packages/devel/libcec/package.mk @@ -23,7 +23,6 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://libcec.pulse-eight.com/" PKG_URL="https://github.com/Pulse-Eight/libcec/archive/$PKG_VERSION.tar.gz" -[ "$PROJECT" = "imx6" ] && PKG_PATCH_DIRS="${LINUX#imx6-}" PKG_DEPENDS_TARGET="toolchain systemd lockdev p8-platform swig:host" PKG_SECTION="system" PKG_SHORTDESC="libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - CEC Adaptor" @@ -32,18 +31,13 @@ PKG_AUTORECONF="no" PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=1 \ -DCMAKE_INSTALL_LIBDIR:STRING=lib \ - -DCMAKE_INSTALL_LIBDIR_NOARCH:STRING=lib" + -DCMAKE_INSTALL_LIBDIR_NOARCH:STRING=lib \ + -DHAVE_IMX_API=0" if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver" fi -if [ "$KODIPLAYER_DRIVER" = "libfslvpuwrap" ]; then - PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_IMX_API=1" -else - PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_IMX_API=0" -fi - if [ "$KODIPLAYER_DRIVER" = "libamcodec" ]; then if [ "$TARGET_KERNEL_ARCH" = "arm64" ]; then PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_AOCEC_API=1" diff --git a/packages/linux/package.mk b/packages/linux/package.mk index 7af697c099..98cb53c924 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -45,26 +45,6 @@ case "$LINUX" in PKG_SOURCE_DIR="$PKG_NAME-amlogic-$PKG_VERSION*" PKG_PATCH_DIRS="amlogic-3.14" ;; - imx6-3.14-sr) - PKG_VERSION="3.14-sr" - PKG_SHA256="04ce73fe6434bb31197e94a9c51e3c44aba7f5226450ff4cec21bc5c985f986d" - PKG_COMMIT="2fb11e2" - PKG_SITE="http://solid-run.com/wiki/doku.php?id=products:imx6:software:development:kernel" - PKG_URL="https://github.com/SolidRun/linux-fslc/archive/$PKG_COMMIT.tar.gz" - PKG_SOURCE_NAME="$PKG_NAME-$LINUX-$PKG_COMMIT.tar.gz" - PKG_SOURCE_DIR="$PKG_NAME-fslc-${PKG_COMMIT}*" - PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan" - ;; - imx6-4.4-xbian) - PKG_VERSION="4.4-xbian" - PKG_SHA256="5d7074937a31042b0764bc975f7280500a0728a00a7a46ab6b06372f42d37ede" - PKG_COMMIT="3bde863" - PKG_SITE="https://github.com/xbianonpi/xbian-sources-kernel/tree/imx6-4.4.y" - PKG_URL="https://github.com/xbianonpi/xbian-sources-kernel/archive/$PKG_COMMIT.tar.gz" - PKG_SOURCE_NAME="$PKG_NAME-$LINUX-$PKG_COMMIT.tar.gz" - PKG_SOURCE_DIR="xbian-sources-kernel-${PKG_COMMIT}*" - PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced" - ;; *) PKG_VERSION="4.13.12" PKG_SHA256="bf98065bf0e3aa5af379d0808f157be48ca4e452a55468fc4ce814b17cf9de74" diff --git a/packages/mediacenter/kodi-binary-addons/screensaver.shadertoy/package.mk b/packages/mediacenter/kodi-binary-addons/screensaver.shadertoy/package.mk index 430fba07c1..58a65a8902 100644 --- a/packages/mediacenter/kodi-binary-addons/screensaver.shadertoy/package.mk +++ b/packages/mediacenter/kodi-binary-addons/screensaver.shadertoy/package.mk @@ -49,8 +49,5 @@ pre_configure_target() { -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux" export CFLAGS="$CFLAGS $BCM2835_INCLUDES" export CXXFLAGS="$CXXFLAGS $BCM2835_INCLUDES" - elif [ "$KODIPLAYER_DRIVER" = libfslvpuwrap ]; then - export CFLAGS="$CFLAGS -DLINUX -DEGL_API_FB" - export CXXFLAGS="$CXXFLAGS -DLINUX -DEGL_API_FB" fi } diff --git a/packages/mediacenter/kodi-binary-addons/visualization.shadertoy/package.mk b/packages/mediacenter/kodi-binary-addons/visualization.shadertoy/package.mk index d839059b12..f75498720f 100644 --- a/packages/mediacenter/kodi-binary-addons/visualization.shadertoy/package.mk +++ b/packages/mediacenter/kodi-binary-addons/visualization.shadertoy/package.mk @@ -49,8 +49,5 @@ pre_configure_target() { -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux" export CFLAGS="$CFLAGS $BCM2835_INCLUDES" export CXXFLAGS="$CXXFLAGS $BCM2835_INCLUDES" - elif [ "$KODIPLAYER_DRIVER" = libfslvpuwrap ]; then - export CFLAGS="$CFLAGS -DLINUX -DEGL_API_FB" - export CXXFLAGS="$CXXFLAGS -DLINUX -DEGL_API_FB" fi } diff --git a/packages/mediacenter/kodi/package.mk b/packages/mediacenter/kodi/package.mk index e7008f0cb3..1cf5ec1b76 100644 --- a/packages/mediacenter/kodi/package.mk +++ b/packages/mediacenter/kodi/package.mk @@ -192,10 +192,6 @@ if [ ! "$KODIPLAYER_DRIVER" = default ]; then KODI_PLAYER="-DCORE_PLATFORM_NAME=gbm" CFLAGS="$CFLAGS -DMESA_EGL_NO_X11_HEADERS" CXXFLAGS="$CXXFLAGS -DMESA_EGL_NO_X11_HEADERS" - elif [ "$KODIPLAYER_DRIVER" = libfslvpuwrap ]; then - KODI_PLAYER="-DCORE_PLATFORM_NAME=imx" - CFLAGS="$CFLAGS -DHAS_IMXVPU -DLINUX -DEGL_API_FB" - CXXFLAGS="$CXXFLAGS -DHAS_IMXVPU -DLINUX -DEGL_API_FB" elif [ "$KODIPLAYER_DRIVER" = libamcodec ]; then KODI_PLAYER="-DCORE_PLATFORM_NAME=aml" fi