summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-05-26 21:39:46 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-17 08:56:11 +0100
commit7a2d2d81d8694806060f7bccfbdba42dc356d477 (patch)
tree2952f25882cbb8c2ea8eec4f14c4779718023a81
parentb02a94dd3f83b79028ea852394068495802c20d2 (diff)
downloadopenembedded-core-contrib-7a2d2d81d8694806060f7bccfbdba42dc356d477.tar.gz
openembedded-core-contrib-7a2d2d81d8694806060f7bccfbdba42dc356d477.tar.bz2
openembedded-core-contrib-7a2d2d81d8694806060f7bccfbdba42dc356d477.zip
dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
Found this error on CentOS 5.10, other distros may also has this problem, I think that we can disable the selinux for dbus-native: bus/selinux.c:327: error: array type has incomplete element type [YOCTO #6374] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dbus/dbus.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 5b2a056511..01108c96b8 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -86,6 +86,8 @@ EXTRA_OECONF = "--disable-tests \
--disable-systemd \
--without-dbus-glib"
+EXTRA_OECONF_class-native = "--disable-selinux"
+
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG_class-native = ""