mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 14:24:02 +08:00
015a33bd05
The mmsghdr struct is only introduced in Linux 2.6.32; add a configure check for it and disable L2TPV3 on hosts which are too old to provide it, rather than simply failing to compile. Reported-by: chenliang <chenliang88@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1404219488-11196-1-git-send-email-arei.gonglei@huawei.com [PMM: cleaned up commit message and corrected kernel version number] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
16 lines
572 B
Makefile
16 lines
572 B
Makefile
common-obj-y = net.o queue.o checksum.o util.o hub.o
|
|
common-obj-y += socket.o
|
|
common-obj-y += dump.o
|
|
common-obj-y += eth.o
|
|
common-obj-$(CONFIG_L2TPV3) += l2tpv3.o
|
|
common-obj-$(CONFIG_POSIX) += tap.o vhost-user.o
|
|
common-obj-$(CONFIG_LINUX) += tap-linux.o
|
|
common-obj-$(CONFIG_WIN32) += tap-win32.o
|
|
common-obj-$(CONFIG_BSD) += tap-bsd.o
|
|
common-obj-$(CONFIG_SOLARIS) += tap-solaris.o
|
|
common-obj-$(CONFIG_AIX) += tap-aix.o
|
|
common-obj-$(CONFIG_HAIKU) += tap-haiku.o
|
|
common-obj-$(CONFIG_SLIRP) += slirp.o
|
|
common-obj-$(CONFIG_VDE) += vde.o
|
|
common-obj-$(CONFIG_NETMAP) += netmap.o
|