imx6: add irqbalanced daemon for linux 4.4

This commit is contained in:
Peter Vicman 2016-04-04 10:11:59 +02:00
parent 3170552d54
commit bc29d625ff
3 changed files with 51 additions and 1 deletions

View File

@ -48,7 +48,7 @@ case "$LINUX" in
PKG_SOURCE_DIR="$PKG_NAME-$PKG_VERSION-$PKG_COMMIT"
PKG_SOURCE_NAME="$PKG_SOURCE_DIR.tar.xz"
PKG_URL="$DISTRO_SRC/$PKG_SOURCE_NAME"
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan"
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced"
;;
*)
PKG_VERSION="4.4.6"

View File

@ -0,0 +1,40 @@
################################################################################
# This file is part of LibreELEC - https://LibreELEC.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="irqbalanced"
PKG_VERSION="7f31046"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="other"
PKG_SITE="http://www.freescale.com"
PKG_URL="https://github.com/dv1/irqbalanced/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain systemd glib"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="irqbalanced: distribute hardware interrupts across processors on a multiprocessor system."
PKG_LONGDESC="irqbalanced: distribute hardware interrupts across processors on a multiprocessor system."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_target() {
sh -c ./autogen.sh
}
post_install() {
enable_service irqbalance.service
}

View File

@ -0,0 +1,10 @@
[Unit]
Description=irqbalance
After=proc.mount
[Service]
ExecStart=/usr/sbin/irqbalance
Type=forking
[Install]
WantedBy=sysinit.target