blob: 0bf4949b6ff660a4d0354d44f5e4777fe3c15b91 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001require recipes-devtools/atp/atp-source_3.1.inc
2inherit module
3
4SUMMARY = "Kernel modules for interacting wih ATP Engine and devices"
5SECTION = "kernel/modules"
6
7S = "${WORKDIR}/git"
8SRC_URI = "${ATP_SRC}"
9
10ATP_MOD_DIR = "linux"
11
12EXTRA_OEMAKE += "-C ${ATP_MOD_DIR}"
13
14PROVIDES = "kernel-module-atp"
15RPROVIDES:${PN} = "kernel-module-atp"
16KERNEL_MODULE_AUTOLOAD += "atp_buffer_manager atp_device"
17MODULES_MODULE_SYMVERS_LOCATION = "${ATP_MOD_DIR}"
18
19do_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}