kumquat-buildroot/package/libsoc/libsoc.mk
Peter Korsgaard a642bb925d package/libsoc: drop python2 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-09 22:08:33 +01:00

24 lines
616 B
Makefile

################################################################################
#
# libsoc
#
################################################################################
LIBSOC_VERSION = 0.8.2
LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
LIBSOC_LICENSE = LGPL-2.1
LIBSOC_LICENSE_FILES = LICENCE
LIBSOC_AUTORECONF = YES
LIBSOC_INSTALL_STAGING = YES
LIBSOC_DEPENDENCIES = host-pkgconf
# Install Python 3 bindings
ifeq ($(BR2_PACKAGE_PYTHON3),y)
LIBSOC_DEPENDENCIES += python3
LIBSOC_CONF_OPTS += --enable-python=3
else
LIBSOC_CONF_OPTS += --disable-python
endif
$(eval $(autotools-package))