mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
b4524eb786
commit
0c31f55bcf
@@ -7,12 +7,10 @@ SRCNAME = "e"
|
||||
inherit e update-alternatives gettext pkgconfig
|
||||
S = "${WORKDIR}/${SRCNAME}"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
|
||||
PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
|
||||
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \
|
||||
--with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \
|
||||
|
||||
@@ -51,7 +51,7 @@ EXTRA_OECONF_append_class-native = " \
|
||||
--disable-image-loader-dds \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
|
||||
PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
|
||||
PACKAGECONFIG_class-native = "luajit"
|
||||
|
||||
PACKAGECONFIG[wayland] = "--enable-wayland --enable-wayland-ivi-shell,--disable-wayland --disable-wayland-ivi-shell,wayland"
|
||||
|
||||
Reference in New Issue
Block a user