Skip to content

Instantly share code, notes, and snippets.

@jordemort
Last active July 30, 2021 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordemort/f62a65e64513fa9fd1386d1a776aa149 to your computer and use it in GitHub Desktop.
Save jordemort/f62a65e64513fa9fd1386d1a776aa149 to your computer and use it in GitHub Desktop.
SUMMARY = "..."
LICENSE = "..."
LIC_FILES_CHKSUM = "..."
SRC_URI = "..."
SRCREV = "..."
PV = "..."
S = "${WORKDIR}/git"
DEPENDS += " virtual/kernel bc-native"
inherit module
MODULE_NAME = "modname"
module_do_compile() {
# ...
}
module_do_install() {
install -d 755 ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/
install -p -m 644 modname.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/
install -Dm0644 Module.symvers ${D}${includedir}/${BPN}/Module.symvers
}
# Error:
# Problem: package packagegroup-bantha-image-1.0-r0.sercomm_na503s requires some-kmod, but none of the providers can be installed
# - package some-kmod-5.9.0.8+37203.20200904+COEX20200103+1717-r0.sercomm_na503s requires kernel-module-modname-5.4.24+gd61efa3e9b18, but none of the providers can be installed
# - conflicting requests
# - nothing provides kernel-5.4.24+gd61efa3e9b18 needed by kernel-module-modname-5.4.24+gd61efa3e9b18-5.9.0.8+37203.20200904+COEX20200103+1717-r0.sercomm_na503s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment