Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | # Copyright (C) 2022 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | SUMMARY = "API to access the kernel tracefs directory" |
| 5 | HOMEPAGE = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" |
| 6 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \ |
| 8 | file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" |
| 9 | SECTION = "libs" |
| 10 | |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 11 | SRCREV = "dd148189b74da3e2f45c7e536319fec97cb71213" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 12 | SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git;branch=${BPN};protocol=https \ |
| 13 | file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 17 | export EXTRA_CFLAGS = "${CFLAGS}" |
| 18 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 19 | inherit pkgconfig |
| 20 | |
| 21 | do_install() { |
| 22 | oe_runmake install DESTDIR=${D} pkgconfig_dir=${libdir}/pkgconfig |
| 23 | } |
| 24 | |
| 25 | PACKAGES += "${PN}-plugins" |
| 26 | |
| 27 | FILES:${PN}-plugins += "${libdir}/traceevent/plugins" |