Skip to content

Commit 9cddb6b

Browse files
author
mumixam
committed
RTL8822BU: new driver package
1 parent 38447b5 commit 9cddb6b

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
3+
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
4+
5+
PKG_NAME="RTL8822BU"
6+
PKG_VERSION="3adbe92d576fec1d58d2ad03a02ef56ce77a6106"
7+
PKG_SHA256="cc00d09ef4a608f41602686837c79ea3d39abef720d680c99c770b1ccc93daf4"
8+
PKG_LICENSE="GPL"
9+
PKG_SITE="https://github.com/MeissnerEffect/rtl8822bu"
10+
PKG_URL="https://github.com/MeissnerEffect/rtl8822bu/archive/$PKG_VERSION.tar.gz"
11+
12+
13+
PKG_DEPENDS_TARGET="toolchain linux"
14+
PKG_NEED_UNPACK="$LINUX_DEPENDS"
15+
PKG_LONGDESC="Realtek RTL8822BU Linux 4.x driver"
16+
PKG_IS_KERNEL_PKG="yes"
17+
18+
pre_make_target() {
19+
unset LDFLAGS
20+
}
21+
22+
make_target() {
23+
make V=1 \
24+
ARCH=$TARGET_KERNEL_ARCH \
25+
KSRC=$(kernel_path) \
26+
CROSS_COMPILE=$TARGET_KERNEL_PREFIX \
27+
CONFIG_POWER_SAVING=n
28+
}
29+
30+
makeinstall_target() {
31+
mkdir -p $INSTALL/$(get_full_module_dir)/$PKG_NAME
32+
cp *.ko $INSTALL/$(get_full_module_dir)/$PKG_NAME
33+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- a/Makefile 2018-10-07 08:40:26.000000000 -0500
2+
+++ b/Makefile 2018-11-21 15:33:02.032610440 -0600
3+
@@ -95,8 +95,8 @@
4+
###################### MP HW TX MODE FOR VHT #######################
5+
CONFIG_MP_VHT_HW_TX_MODE = n
6+
###################### Platform Related #######################
7+
-CONFIG_PLATFORM_I386_PC = y
8+
-CONFIG_PLATFORM_ARM_RPI = n
9+
+CONFIG_PLATFORM_I386_PC = n
10+
+CONFIG_PLATFORM_ARM_RPI = y
11+
CONFIG_PLATFORM_ANDROID_X86 = n
12+
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
13+
CONFIG_PLATFORM_JB_X86 = n
14+

0 commit comments

Comments
 (0)