diff options
| author | Gonglei | 2014-07-01 14:58:08 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-07-01 18:42:23 +0200 |
| commit | 015a33bd05b7fd69f400d4e0e4a9925af9292548 (patch) | |
| tree | a1ac8883dc8ccff13eb6e129880f0aab7e2d87a6 /net/Makefile.objs | |
| parent | Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20140701-1' into s... (diff) | |
| download | qemu-015a33bd05b7fd69f400d4e0e4a9925af9292548.tar.gz qemu-015a33bd05b7fd69f400d4e0e4a9925af9292548.tar.xz qemu-015a33bd05b7fd69f400d4e0e4a9925af9292548.zip | |
net: add mmsghdr struct check for L2TPV3
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>
Diffstat (limited to 'net/Makefile.objs')
| -rw-r--r-- | net/Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile.objs b/net/Makefile.objs index a06ba59dad..ec19cb31d9 100644 --- a/net/Makefile.objs +++ b/net/Makefile.objs @@ -2,7 +2,7 @@ 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_LINUX) += l2tpv3.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 |
