1SUMMARY = "Example of how to build an external Linux kernel module" 2DESCRIPTION = "${SUMMARY}" 3LICENSE = "GPL-2.0-only" 4LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 5 6inherit module 7 8SRC_URI = "file://Makefile \ 9 file://hello.c \ 10 file://COPYING \ 11 " 12 13S = "${WORKDIR}/sources" 14UNPACKDIR = "${S}" 15 16# The inherit of module.bbclass will automatically name module packages with 17# "kernel-module-" prefix as required by the oe-core build environment. 18 19RPROVIDES:${PN} += "kernel-module-hello" 20