xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Boot performance graphing tool"
2*4882a593SmuzhiyunDESCRIPTION = "For systemd-bootchart, several proc debug interfaces are required in the kernel config: \
3*4882a593Smuzhiyun  CONFIG_SCHEDSTATS \
4*4882a593Smuzhiyunbelow is optional, for additional info: \
5*4882a593Smuzhiyun  CONFIG_SCHED_DEBUG"
6*4882a593SmuzhiyunHOMEPAGE = "https://github.com/systemd/systemd-bootchart"
7*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only & GPL-2.0-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \
9*4882a593Smuzhiyun                    file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https;branch=master \
12*4882a593Smuzhiyun           file://0001-architecture-Recognise-RISCV-32-RISCV-64.patch \
13*4882a593Smuzhiyun           file://mips64.patch \
14*4882a593Smuzhiyun           file://no_lto.patch \
15*4882a593Smuzhiyun"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunSRC_URI:append:libc-musl = " \
18*4882a593Smuzhiyun    file://0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch \
19*4882a593Smuzhiyun    file://0002-musl-does-not-provide-printf-h.patch \
20*4882a593Smuzhiyun    file://0003-musl-does-not-provide-canonicalize_file_name.patch \
21*4882a593Smuzhiyun    "
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunSRCREV = "8183cfd9dad8beca5434d625cf6b2df87775e956"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunS = "${WORKDIR}/git"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunDEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool"
29*4882a593Smuzhiyun
30*4882a593Smuzhiyuninherit pkgconfig autotools systemd features_check
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "systemd"
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunSYSTEMD_SERVICE:${PN} = "systemd-bootchart.service"
35*4882a593Smuzhiyun
36*4882a593Smuzhiyundo_configure:prepend() {
37*4882a593Smuzhiyun    # intltool.m4 is a soft link to /usr/share/aclocal/m4, delete it and use the one in our sysroot
38*4882a593Smuzhiyun    rm -f ${S}/m4/intltool.m4
39*4882a593Smuzhiyun}
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunFILES:${PN} += "${systemd_unitdir}/systemd-bootchart"
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunEXTRA_OECONF = " --with-rootprefix=${root_prefix} \
44*4882a593Smuzhiyun                 --with-rootlibdir=${base_libdir}"
45