-
Notifications
You must be signed in to change notification settings - Fork 25
/
rtl8723bu.bb
36 lines (27 loc) · 1.1 KB
/
rtl8723bu.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SUMMARY = "RTL8723 kernel driver (wifi + bluetooth)"
DESCRIPTION = "RTL8723 kernel driver"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://Kconfig;md5=ce4c7adf40ddcf6cfca7ee2b333165f0"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
PV = "4.3.6.11-git"
SRCREV = "92c19318cb54ef96c2cfb4a22b2c98eb512812d8"
SRC_URI = "git://github.com/lwfinger/rtl8723bu.git;protocol=https;branch=master \
file://0002-realtek-Disable-IPS-mode.patch "
S = "${WORKDIR}/git"
DEPENDS = "virtual/kernel"
inherit module
EXTRA_OEMAKE = "ARCH=${ARCH} \
KSRC=${STAGING_KERNEL_BUILDDIR} \
USER_EXTRA_CFLAGS='-DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT' \
"
do_compile () {
oe_runmake
}
do_install () {
install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}
install -m 0755 ${B}/8723bu.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/8723bu.ko
install -d ${D}${sysconfdir}/modprobe.d
echo "blacklist rtl8xxxu" > ${D}${sysconfdir}/modprobe.d/rtl8723-blacklist.conf
}
FILES:${PN} += "${sysconfdir}"
RDEPENDS:${PN} += "linux-firmware-rtl8723"