From 7cdddd5104a15cea71b42d4e8575bee69c23ff09 Mon Sep 17 00:00:00 2001 From: Philip Tricca Date: Mon, 28 Oct 2013 22:10:49 +0000 Subject: xen: Use PACKAGECONFIG to deal with XSM policy. Signed-off-by: Philip Tricca Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen_4.3.0.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-extended/xen/xen_4.3.0.bb b/recipes-extended/xen/xen_4.3.0.bb index 7a0e4089..09c25aa1 100644 --- a/recipes-extended/xen/xen_4.3.0.bb +++ b/recipes-extended/xen/xen_4.3.0.bb @@ -20,7 +20,12 @@ COMPATIBLE_HOST = '(x86_64.*).*-linux' inherit autotools gettext setuptools update-rc.d -DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils virtual/libgl virtual/libsdl bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native libsdl ${@base_contains('DISTRO_FEATURES', 'xsm', 'checkpolicy-native', '', d )}" +PACKAGECONFIG ??= " \ + xsm \ +" +PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," + +DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils virtual/libgl virtual/libsdl bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native libsdl" # inherit setuptools adds python to RDEPENDS, override it RDEPENDS_${PN} = "" @@ -571,7 +576,6 @@ EXTRA_OECONF += " \ --disable-ioemu-stubdom \ --disable-pv-grub \ --disable-xenstore-stubdom \ - ${@base_contains('DISTRO_FEATURES', 'xsm', '--enable-xsmpolicy', '--disable-xsmpolicy',d)} \ " do_configure() { -- cgit v1.2.3-54-g00ecf