Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | require recipes-devtools/atp/atp-source_3.1.inc |
| 2 | inherit package |
| 3 | |
| 4 | SUMMARY = "User API for accessing services from ATP kernel modules" |
| 5 | SECTION = "kernel/userland" |
| 6 | |
| 7 | S = "${WORKDIR}/git" |
| 8 | SRC_URI = "${ATP_SRC}" |
| 9 | |
| 10 | # Unversioned library |
| 11 | SOLIBS = ".so" |
| 12 | FILES_SOLIBSDEV = "" |
| 13 | |
| 14 | EXTRA_OEMAKE += "-C linux/uapi" |
| 15 | |
| 16 | do_compile() { |
| 17 | oe_runmake KERNEL_HDR_PATH=${STAGING_INCDIR} |
| 18 | } |
| 19 | |
| 20 | do_install() { |
| 21 | oe_runmake DESTDIR=${D} PREFIX=${prefix} install |
| 22 | } |
| 23 | |
| 24 | DEPENDS = "linux-libc-headers kernel-module-atp" |