xref: /OK3568_Linux_fs/buildroot/package/vde2/vde2.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# vde2
4#
5################################################################################
6
7VDE2_VERSION = 2.3.2
8VDE2_SOURCE = vde2-$(VDE2_VERSION).tar.bz2
9VDE2_SITE = http://downloads.sourceforge.net/project/vde/vde2/$(VDE2_VERSION)
10VDE2_LICENSE = GPL-2.0+, LGPL-2.1+, BSD-3-Clause
11VDE2_LICENSE_FILES = COPYING COPYING.libvdeplug COPYING.slirpvde
12VDE2_CPE_ID_VENDOR = vde_project
13VDE2_CPE_ID_PRODUCT = vde
14VDE2_INSTALL_STAGING = YES
15
16# We touch configure.ac, so we need to autoreconf
17VDE2_AUTORECONF = YES
18
19# Reasons for enabling/disabling stuff:
20# - tuntap is enabled in the hope we're using a recent-enough toolchain
21#   that does have if_tun.h (virtually everything these days)
22# - kvde_switch is disabled because it requires a patched kernel
23# - cryptcab is disabled to not depend on openSSL
24# - python is disabled to not depend on Python
25# - pcap is disabled to not depend on libpcap
26# - profiling is disabled because we do not want to debug/profile
27#
28# Note: disabled features can be added with corresponding dependencies
29#       in future commits.
30VDE2_CONF_OPTS = \
31	--disable-cryptcab \
32	--disable-experimental \
33	--disable-kernel-switch \
34	--disable-pcap \
35	--disable-profile \
36	--disable-python \
37	--enable-tuntap
38
39# Package does not build in parallel due to improper make rules
40VDE2_MAKE = $(MAKE1)
41
42HOST_VDE2_CONF_OPTS = \
43	--disable-cryptcab \
44	--disable-experimental \
45	--disable-kernel-switch \
46	--disable-pcap \
47	--disable-profile \
48	--disable-python \
49	--enable-tuntap
50
51HOST_VDE2_MAKE = $(MAKE1)
52
53$(eval $(autotools-package))
54$(eval $(host-autotools-package))
55