kumquat-buildroot/package/vde2/vde2.mk
Simon Maes 692e392448 vde2: enable building host package
In preparation of enabling vde2 support in host-qemu package.

Signed-off-by: Simon Maes <simonn.maes@gmail.com>
[Thomas:
 - add HOST_VDE2_CONF_OPTS and HOST_VDE2_MAKE, like we have for the
   target variant.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-04 11:29:31 +02:00

53 lines
1.6 KiB
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

################################################################################
#
# vde2
#
################################################################################
VDE2_VERSION = 2.3.2
VDE2_SOURCE = vde2-$(VDE2_VERSION).tar.bz2
VDE2_SITE = http://downloads.sourceforge.net/project/vde/vde2/$(VDE2_VERSION)
VDE2_LICENSE = GPLv2+, LGPLv2.1+, BSD-3c
VDE2_LICENSE_FILES = COPYING COPYING.libvdeplug COPYING.slirpvde
VDE2_INSTALL_STAGING = YES
# We touch configure.ac, so we need to autoreconf
VDE2_AUTORECONF = YES
# Reasons for enabling/disabling stuff:
# - tuntap is enabled in the hope we're using a recent-enough toolchain
# that does have if_tun.h (virtually everything these days)
# - kvde_switch is disabled because it requires a patched kernel
# - cryptcab is disabled to not depend on openSSL
# - python is disabled to not depend on Python
# - pcap is disabled to not depend on libpcap
# - profiling is disabled because we do not want to debug/profile
#
# Note: disabled features can be added with corresponding dependencies
# in future commits.
VDE2_CONF_OPTS = \
--disable-experimental \
--disable-cryptcab \
--disable-pcap \
--disable-python \
--disable-profile \
--disable-kernel-switch \
--enable-tuntap \
# Package does not build in parallel due to improper make rules
VDE2_MAKE = $(MAKE1)
HOST_VDE2_CONF_OPTS = \
--disable-experimental \
--disable-cryptcab \
--disable-pcap \
--disable-python \
--disable-profile \
--disable-kernel-switch \
--enable-tuntap \
HOST_VDE2_MAKE = $(MAKE1)
$(eval $(autotools-package))
$(eval $(host-autotools-package))