2022-03-12 12:41:01 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
2022-04-07 23:57:53 +00:00
|
|
|
PKG_NAME="RTL8192CU"
|
|
|
|
PKG_VERSION="e5c01a328d2a17f6e6553e30c9cf546076d61021"
|
2022-03-12 12:41:01 +00:00
|
|
|
PKG_LICENSE="GPL"
|
2022-04-07 23:57:53 +00:00
|
|
|
PKG_SITE="https://github.com/pvaret/rtl8192cu-fixes"
|
|
|
|
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_LONGDESC="Realtek RTL81xxCU Linux 3.x driver"
|
2022-03-12 12:41:01 +00:00
|
|
|
PKG_IS_KERNEL_PKG="yes"
|
|
|
|
|
|
|
|
pre_make_target() {
|
|
|
|
unset LDFLAGS
|
|
|
|
}
|
|
|
|
|
|
|
|
make_target() {
|
|
|
|
make V=1 \
|
|
|
|
ARCH=${TARGET_KERNEL_ARCH} \
|
|
|
|
KSRC=$(kernel_path) \
|
|
|
|
CROSS_COMPILE=${TARGET_KERNEL_PREFIX} \
|
|
|
|
CONFIG_POWER_SAVING=n
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/$(get_full_module_dir)/${PKG_NAME}
|
|
|
|
cp *.ko ${INSTALL}/$(get_full_module_dir)/${PKG_NAME}
|
|
|
|
}
|