diff options
author | Philip Tricca <flihp@twobit.us> | 2013-11-06 02:17:17 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-07 15:31:34 -0500 |
commit | 72eab55cb18a09abc9100824c5a8a215f4f702bf (patch) | |
tree | c07b89097ec7638dca5f9fb1688aae50b437067c | |
parent | 38a09562ecf83e31da78d3294d02d0e2592be769 (diff) | |
download | meta-virtualization-72eab55cb18a09abc9100824c5a8a215f4f702bf.tar.gz |
xen: use PACKAGECONFIG for SDL and a bit of dependency cleanup
This patch moves the optional SDL dependency to a PACKAGECONFIG
entry. It also cleans up dependencies on both the virtual libsdl
and libsdl. The dependency on libgl is also removed. libGL support
should be enabled with the 'opengl' distro feature instead. The
dependency on glib-2.0 is now explicit as well.
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.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-extended/xen/xen_4.3.0.bb b/recipes-extended/xen/xen_4.3.0.bb index 09c25aa1..283da283 100644 --- a/recipes-extended/xen/xen_4.3.0.bb +++ b/recipes-extended/xen/xen_4.3.0.bb | |||
@@ -21,17 +21,19 @@ COMPATIBLE_HOST = '(x86_64.*).*-linux' | |||
21 | inherit autotools gettext setuptools update-rc.d | 21 | inherit autotools gettext setuptools update-rc.d |
22 | 22 | ||
23 | PACKAGECONFIG ??= " \ | 23 | PACKAGECONFIG ??= " \ |
24 | sdl \ | ||
24 | xsm \ | 25 | xsm \ |
25 | " | 26 | " |
27 | PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," | ||
26 | PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," | 28 | PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," |
27 | 29 | ||
28 | 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" | 30 | DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0" |
29 | 31 | ||
30 | # inherit setuptools adds python to RDEPENDS, override it | 32 | # inherit setuptools adds python to RDEPENDS, override it |
31 | RDEPENDS_${PN} = "" | 33 | RDEPENDS_${PN} = "" |
32 | 34 | ||
33 | RDEPENDS_${PN}-base = "\ | 35 | RDEPENDS_${PN}-base = "\ |
34 | libgcc libsdl udev bash perl xz \ | 36 | libgcc udev bash perl xz \ |
35 | ${PN}-blktap \ | 37 | ${PN}-blktap \ |
36 | ${PN}-console \ | 38 | ${PN}-console \ |
37 | ${PN}-libblktapctl \ | 39 | ${PN}-libblktapctl \ |