Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | require recipes-devtools/atp/atp-source_3.1.inc |
| 2 | inherit module |
| 3 | |
| 4 | SUMMARY = "Kernel modules for interacting wih ATP Engine and devices" |
| 5 | SECTION = "kernel/modules" |
| 6 | |
| 7 | S = "${WORKDIR}/git" |
| 8 | SRC_URI = "${ATP_SRC}" |
| 9 | |
| 10 | ATP_MOD_DIR = "linux" |
| 11 | |
| 12 | EXTRA_OEMAKE += "-C ${ATP_MOD_DIR}" |
| 13 | |
| 14 | PROVIDES = "kernel-module-atp" |
| 15 | RPROVIDES:${PN} = "kernel-module-atp" |
| 16 | KERNEL_MODULE_AUTOLOAD += "atp_buffer_manager atp_device" |
| 17 | MODULES_MODULE_SYMVERS_LOCATION = "${ATP_MOD_DIR}" |
| 18 | |
| 19 | do_install:append() { |
| 20 | install -d ${D}${includedir}/linux |
| 21 | install -m 644 ${ATP_MOD_DIR}/atp_buffer_manager_user.h \ |
| 22 | ${ATP_MOD_DIR}/atp_device_user.h \ |
| 23 | ${D}${includedir}/linux |
| 24 | } |