summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-06-17 11:03:27 +0800
committerChen Qi <Qi.Chen@windriver.com>2016-06-23 16:12:46 +0800
commit04d8fc3e44c11f3690fed9a4e5a98e5f5c67d440 (patch)
tree411c92d7feb6654e99c72338225d12961b16a7b7
parent888ea509ee84e93297278e52a394057993b9a8a4 (diff)
downloadopenembedded-core-contrib-04d8fc3e44c11f3690fed9a4e5a98e5f5c67d440.tar.gz
openembedded-core-contrib-04d8fc3e44c11f3690fed9a4e5a98e5f5c67d440.tar.bz2
openembedded-core-contrib-04d8fc3e44c11f3690fed9a4e5a98e5f5c67d440.zip
systemd-bootchart: add recipe
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bb
new file mode 100644
index 0000000000..3e437f904d
--- /dev/null
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bb
@@ -0,0 +1,28 @@
+LICENSE = "LGPLv2.1 & GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \
+ file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https"
+
+# Modify these as desired
+PV = "230+git${SRCPV}"
+SRCREV = "dcb246b46239259ec99b3c6e6ab7d27e1a5a8a84"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool"
+
+inherit pkgconfig autotools systemd
+
+# Kernel config CONFIG_SCHEDSTAT needs to be enabled for this service to work.
+SYSTEMD_SERVICE_${PN} = "systemd-bootchart.service"
+
+do_configure_prepend() {
+ # intltool.m4 is a soft link to /usr/share/aclocal/m4, delete it and use the one in our sysroot
+ rm -f ${S}/m4/intltool.m4
+}
+
+FILES_${PN} += "${systemd_unitdir}/systemd-bootchart"
+
+EXTRA_OECONF = " --with-rootprefix=${base_prefix} \
+ --with-rootlibdir=${base_libdir}"