-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #991 from YoeDistro/kraj/master
Add recipe for nxp-wlan-sdk
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...ta-yoe/dynamic-layers/variscite-bsp/recipes-connectivity/nxp-wlan-sdk/nxp-wlan-sdk_git.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |
15 changes: 15 additions & 0 deletions
15
...a-yoe/dynamic-layers/variscite-bsp/recipes-connectivity/nxp-wlan-sdk/nxp-wlan-sdk_git.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |