update buildroot to 2017.02.11
This commit is contained in:
27
bsp/buildroot-2017.02.11/package/libsoc/libsoc.mk
Normal file
27
bsp/buildroot-2017.02.11/package/libsoc/libsoc.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsoc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSOC_VERSION = 0.8.2
|
||||
LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
|
||||
LIBSOC_LICENSE = LGPLv2.1
|
||||
LIBSOC_LICENSE_FILES = LICENCE
|
||||
LIBSOC_AUTORECONF = YES
|
||||
LIBSOC_INSTALL_STAGING = YES
|
||||
LIBSOC_DEPENDENCIES = host-pkgconf
|
||||
|
||||
# Install Python 2 bindings
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LIBSOC_DEPENDENCIES += python
|
||||
LIBSOC_CONF_OPTS += --enable-python=2
|
||||
# Install Python 3 bindings
|
||||
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBSOC_DEPENDENCIES += python3
|
||||
LIBSOC_CONF_OPTS += --enable-python=3
|
||||
else
|
||||
LIBSOC_CONF_OPTS += --disable-python
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user