yocto/meta-igkboard/images/yocto-image-full.bb | ●●●●● patch | view | raw | blame | history | |
yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb | ●●●●● patch | view | raw | blame | history | |
yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb | ●●●●● patch | view | raw | blame | history |
yocto/meta-igkboard/images/yocto-image-full.bb
@@ -45,6 +45,7 @@ CORE_IMAGE_EXTRA_INSTALL_BASE += " \ kernel-modules hello-app hello-mod \ rtl8188fu rtl8723du \ firmwared linux-firmware \ powertop tzdata ppp vim \ xz lrzsz rsync dos2unix \ yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb
New file @@ -0,0 +1,37 @@ DESCRIPTION = "Realtek RTL8188FU USB Wi-Fi driver" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" # Git repository and branch SRC_URI = "git://github.com/kelebek333/rtl8188fu.git;branch=master;protocol=https" SRCREV = "${AUTOREV}" # Specify where the source files will be fetched to S = "${WORKDIR}/git" # Inherit the module class to handle kernel module compilation inherit module do_configure() { sed -i 's|^ARCH.*|ARCH ?= arm|' ${S}/Makefile sed -i 's|^CROSS_COMPILE.*|CROSS_COMPILE ?= ${TARGET_PREFIX}|' ${S}/Makefile sed -i 's|^KVER.*|KVER ?= ${KERNEL_VERSION}|' ${S}/Makefile sed -i 's|^KSRC.*|KSRC ?= ${STAGING_KERNEL_DIR}|' ${S}/Makefile } # Define the compile task do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake all } # Define where to install the kernel module do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/ install -m 0644 ${S}/rtl8188fu.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/ } # Add the driver to the kernel modules list KERNEL_MODULE_PROBECONF = "rtl8188fu" yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb
New file @@ -0,0 +1,30 @@ DESCRIPTION = "Realtek RTL8723DU USB Wi-Fi/BT driver" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" # Git repository and branch SRC_URI = "git://github.com/lwfinger/rtw88.git;branch=master;protocol=https" SRCREV = "${AUTOREV}" # Specify where the source files will be fetched to S = "${WORKDIR}/git" # Inherit the module class to handle kernel module compilation inherit module # Define the compile task do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake all } # Define where to install the kernel module do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/ install -m 0644 ${S}/*.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/ } # Add the driver to the kernel modules list KERNEL_MODULE_PROBECONF = "rtw_8723du"