summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Tricca <flihp@twobit.us>2013-10-28 22:10:49 +0000
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-10-29 14:35:18 -0400
commit7cdddd5104a15cea71b42d4e8575bee69c23ff09 (patch)
tree18aec930e1685e69aff0f4c73d9801b81e5f8695
parent374d5dc2459657b80794be6b2d95cbdd78c8ed67 (diff)
downloadmeta-virtualization-7cdddd5104a15cea71b42d4e8575bee69c23ff09.tar.gz
xen: Use PACKAGECONFIG to deal with XSM policy.
Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/xen/xen_4.3.0.bb8
1 files 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'
20 20
21inherit autotools gettext setuptools update-rc.d 21inherit autotools gettext setuptools update-rc.d
22 22
23DEPENDS = "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 )}" 23PACKAGECONFIG ??= " \
24 xsm \
25"
26PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
27
28DEPENDS = "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"
24 29
25# inherit setuptools adds python to RDEPENDS, override it 30# inherit setuptools adds python to RDEPENDS, override it
26RDEPENDS_${PN} = "" 31RDEPENDS_${PN} = ""
@@ -571,7 +576,6 @@ EXTRA_OECONF += " \
571 --disable-ioemu-stubdom \ 576 --disable-ioemu-stubdom \
572 --disable-pv-grub \ 577 --disable-pv-grub \
573 --disable-xenstore-stubdom \ 578 --disable-xenstore-stubdom \
574 ${@base_contains('DISTRO_FEATURES', 'xsm', '--enable-xsmpolicy', '--disable-xsmpolicy',d)} \
575" 579"
576 580
577do_configure() { 581do_configure() {