Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 1 | SUMMARY = "Boot performance graphing tool" |
| 2 | DESCRIPTION = "For systemd-bootchart, several proc debug interfaces are required in the kernel config: \ |
| 3 | CONFIG_SCHEDSTATS \ |
| 4 | below is optional, for additional info: \ |
| 5 | CONFIG_SCHED_DEBUG" |
| 6 | HOMEPAGE = "https://github.com/systemd/systemd-bootchart" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 7 | LICENSE = "LGPL-2.1-only & GPL-2.0-only" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \ |
| 9 | file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe" |
| 10 | |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 11 | SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https;branch=main \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | file://mips64.patch \ |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 13 | file://no_lto.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | " |
| 15 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 16 | SRC_URI:append:libc-musl = " \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | file://0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch \ |
| 18 | file://0002-musl-does-not-provide-printf-h.patch \ |
| 19 | file://0003-musl-does-not-provide-canonicalize_file_name.patch \ |
| 20 | " |
| 21 | |
| 22 | |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 23 | SRCREV = "8ab9680a1bd5eb8fe7a7dcc44897af7ee41e56e7" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | |
| 25 | S = "${WORKDIR}/git" |
| 26 | |
| 27 | DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool" |
| 28 | |
Brad Bishop | 6dbb316 | 2019-11-25 09:41:34 -0500 | [diff] [blame] | 29 | inherit pkgconfig autotools systemd features_check |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 30 | |
| 31 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 32 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 33 | SYSTEMD_SERVICE:${PN} = "systemd-bootchart.service" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 34 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 35 | do_configure:prepend() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 36 | # intltool.m4 is a soft link to /usr/share/aclocal/m4, delete it and use the one in our sysroot |
| 37 | rm -f ${S}/m4/intltool.m4 |
| 38 | } |
| 39 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 40 | FILES:${PN} += "${systemd_unitdir}/systemd-bootchart" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 41 | |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 42 | EXTRA_OECONF = " --with-rootprefix=${root_prefix} \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 43 | --with-rootlibdir=${base_libdir}" |