update buildroot to 2017.02.11
This commit is contained in:
9
bsp/buildroot-2017.02.11/package/python-cffi/Config.in
Normal file
9
bsp/buildroot-2017.02.11/package/python-cffi/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PYTHON_CFFI
|
||||
bool "python-cffi"
|
||||
select BR2_PACKAGE_LIBFFI
|
||||
help
|
||||
This is the Foreign Function Interface for Python calling C
|
||||
code. The aim of this project is to provide a convenient
|
||||
and reliable way of calling C code from Python.
|
||||
|
||||
https://pypi.python.org/pypi/cffi
|
||||
@@ -0,0 +1,3 @@
|
||||
# md5 from https://pypi.python.org/pypi/cffi/json, sha256 locally computed
|
||||
md5 c8e877fe0426a99d0cf5872cf2f95b27 cffi-1.8.3.tar.gz
|
||||
sha256 c321bd46faa7847261b89c0469569530cad5a41976bb6dba8202c0159f476568 cffi-1.8.3.tar.gz
|
||||
27
bsp/buildroot-2017.02.11/package/python-cffi/python-cffi.mk
Normal file
27
bsp/buildroot-2017.02.11/package/python-cffi/python-cffi.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cffi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CFFI_VERSION = 1.8.3
|
||||
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
||||
PYTHON_CFFI_SITE = https://pypi.python.org/packages/0a/f3/686af8873b70028fccf67b15c78fd4e4667a3da995007afc71e786d61b0a
|
||||
PYTHON_CFFI_SETUP_TYPE = setuptools
|
||||
PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
|
||||
PYTHON_CFFI_LICENSE = MIT
|
||||
PYTHON_CFFI_LICENSE_FILES = LICENSE
|
||||
|
||||
# This host package uses pkg-config to find libffi, so we have to
|
||||
# provide the proper hints for pkg-config to behave properly for host
|
||||
# packages.
|
||||
HOST_PYTHON_CFFI_ENV = \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="/" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig:$(HOST_DIR)/usr/share/pkgconfig"
|
||||
HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user