################################################################################ # This file is part of LibreELEC - https://libreelec.tv # Copyright (C) 2016-present 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 . ################################################################################ PKG_NAME="slice-drivers" PKG_VERSION="d02f3e7" PKG_SHA256="31c32eba1549c8cf6204c5cfdd25ec0480bcc95c0253f06258596189c84926ca" PKG_ARCH="arm" PKG_LICENSE="GPL" PKG_SITE="https://github.com/LibreELEC/slice-drivers" PKG_URL="https://github.com/LibreELEC/slice-drivers/archive/$PKG_VERSION.tar.gz" PKG_DEPENDS_TARGET="toolchain linux" PKG_NEED_UNPACK="$LINUX_DEPENDS" PKG_SECTION="driver" PKG_SHORTDESC="linux kernel modules for the Slice box" PKG_LONGDESC="linux kernel modules for the Slice box" PKG_IS_KERNEL_PKG="yes" pre_make_target() { unset LDFLAGS } make_target() { make KDIR=$(kernel_path) } makeinstall_target() { mkdir -p $INSTALL/$(get_full_module_dir)/$PKG_NAME cp *.ko $INSTALL/$(get_full_module_dir)/$PKG_NAME }