Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Example of how to build an external Linux kernel module" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 2 | DESCRIPTION = "${SUMMARY}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" |
| 5 | |
| 6 | inherit module |
| 7 | |
| 8 | SRC_URI = "file://Makefile \ |
| 9 | file://hello.c \ |
| 10 | file://COPYING \ |
| 11 | " |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | # The inherit of module.bbclass will automatically name module packages with |
| 16 | # "kernel-module-" prefix as required by the oe-core build environment. |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | |
| 18 | RPROVIDES_${PN} += "kernel-module-hello" |