package/xen: add slirp dependency for tools
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 7 Nov 2020 18:52:56 +0000 (19:52 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 10 Nov 2020 09:34:26 +0000 (10:34 +0100)
commita0a5c184efe4fec3bf7edb0a7a8e40bb4ddbea13
tree77d89c25738d594f98257e89ef981f4a570a03e7
parent97fcae8ddf71b02402225ed1b3d0e3d5ea367ed5
package/xen: add slirp dependency for tools

Build of xen tools fails if slirp is built before xen because xen is not
compatible with spice slirp which does not provide libslirp.h:

/home/buildroot/autobuild/instance-2/output-1/build/xen-4.13.0/tools/qemu-xen/net/slirp.c:40:10: fatal error: libslirp.h: No such file or directory
 #include <libslirp.h>
          ^~~~~~~~~~~~

Indeed, xen prefers a system-provided slirp over its internal one

So add slirp as a mandatory dependency (now that we switched to the up
to date https://gitlab.freedesktop.org/slirp/libslirp)

This build failure is raised since, at least, version 4.13.0

Fixes:
 - http://autobuild.buildroot.org/results/b80b33ed558518f7bbb0a3c8586bf2d0b8acc36f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/xen/Config.in
package/xen/xen.mk