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)
|
|
|
|
# Copyright (C) 2021-present Fewtarius
|
|
|
|
|
2022-04-07 23:57:53 +00:00
|
|
|
PKG_NAME="RTL8814AU"
|
2023-04-06 12:13:13 +00:00
|
|
|
PKG_VERSION="6f80699e68fd2a9f2bba3f1a56ca06d1b7992bd8"
|
2022-03-12 12:41:01 +00:00
|
|
|
PKG_LICENSE="GPL"
|
2022-04-07 23:57:53 +00:00
|
|
|
PKG_SITE="https://github.com/morrownr/8814au"
|
2022-03-12 12:41:01 +00:00
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2023-07-03 09:31:17 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain linux kernel-firmware"
|
2022-03-12 12:41:01 +00:00
|
|
|
PKG_NEED_UNPACK="${LINUX_DEPENDS}"
|
2022-04-07 23:57:53 +00:00
|
|
|
PKG_LONGDESC="Realtek 8814AU driver for 4.4-5.x"
|
2022-03-12 12:41:01 +00:00
|
|
|
PKG_IS_KERNEL_PKG="yes"
|
2023-04-11 13:27:26 +00:00
|
|
|
PKG_TOOLCHAIN="make"
|
2022-03-12 12:41:01 +00:00
|
|
|
|
|
|
|
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}
|
|
|
|
}
|