package/qemu: fix build of host-qemu on systems with old kernel headers
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 13 Feb 2019 21:12:41 +0000 (22:12 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 14 Feb 2019 20:49:06 +0000 (21:49 +0100)
commit3a52848f82db08b5edf433d5360434618e2ef683
tree79c415f0d0f86934772b034072e74bdc714fe00d
parent506cdeb2d08811f309c6dc80c0098bf1ccdee21a
package/qemu: fix build of host-qemu on systems with old kernel headers

Qemu assumes that when <linux/usbdevice_fs.h> is available, it can
build its USBFS code. However, some systems have
<linux/usbdevice_fs.h>, but it doesn't provide all the definitions
that Qemu needs, causing a build failure.

In order to fix this, we introduce a Qemu patch that improves the
check that determines whether USBFS support should be enabled or not.

Fixes:

  http://autobuild.buildroot.net/results/c4af5505f80e1e6185df70d191e85d9393df5795/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qemu/0002-configure-improve-usbfs-check.patch [new file with mode: 0644]