forked from libretro/Lakka-LibreELEC
30 lines
901 B
Makefile
30 lines
901 B
Makefile
# 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)
|
|
|
|
PKG_NAME="RTL8812AU"
|
|
PKG_VERSION="eee82ac1401e211a58a42cd89ab788b4f55040af"
|
|
PKG_SHA256="d45d1aec81f293e64dc3e45f4350cf51d628ee08d6a28a9a5eca7d1647c7656f"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://github.com/aircrack-ng/rtl8812au"
|
|
PKG_URL="https://github.com/aircrack-ng/rtl8812au/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_LONGDESC="Realtek RTL8812AU Linux driver"
|
|
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}
|
|
}
|