Skip to content

Commit

Permalink
Merge pull request #991 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
Add recipe for nxp-wlan-sdk
  • Loading branch information
cbrake authored Dec 4, 2024
2 parents 8174e05 + dd44e16 commit 5749714
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
require nxp-wlan-sdk_git.inc

SUMMARY = "NXP Wi-Fi SDK"

inherit module-base

TARGET_CC_ARCH += "${LDFLAGS}"

do_compile () {
oe_runmake build
}

do_install () {
install -d ${D}${datadir}/nxp_wireless

install -m 0755 script/load ${D}${datadir}/nxp_wireless
install -m 0755 script/unload ${D}${datadir}/nxp_wireless
install -m 0644 README ${D}${datadir}/nxp_wireless
}

FILES:${PN} = "${datadir}/nxp_wireless"

COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SUMMARY = "NXP Wi-Fi SDK for module 88w8801/8987/8997/9098 and IW416/612"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=ab04ac0f249af12befccb94447c08b77"

# For Kernel 5.4 and later
SRCBRANCH = "lf-6.1.36_2.1.0"
MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https"
SRC_URI = "${MRVL_SRC};branch=${SRCBRANCH}"
SRCREV = "26246bf60afa613272156fa268e4ff99f5d810ae"

S = "${WORKDIR}/git/mxm_wifiex/wlan_src"

EXTRA_OEMAKE = "KERNELDIR=${STAGING_KERNEL_BUILDDIR}"

RDEPENDS:${PN} = "wireless-tools"

0 comments on commit 5749714

Please sign in to comment.