mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
rrdtool: takes graph only with x11 or wayland
rrdtool package configuration 'graph' relies on graphical support. Ignore it if none of x11 org wayland is in the distro features. Signed-off-by: Louis Rannou <louis.rannou@non.se.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
bb5f304e15
commit
1e824240fb
@ -25,7 +25,11 @@ AUTOTOOLS_AUXDIR = "${S}/conftools"
|
||||
|
||||
EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
|
||||
|
||||
PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
PACKAGECONFIG ??= " \
|
||||
perl \
|
||||
${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'graph', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[python] = "--enable-python=yes \
|
||||
am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user