Move buildroot to bsp directory.
This commit is contained in:
9
bsp/buildroot/package/python-cffi/Config.in
Normal file
9
bsp/buildroot/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
|
||||
4
bsp/buildroot/package/python-cffi/python-cffi.hash
Normal file
4
bsp/buildroot/package/python-cffi/python-cffi.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://pypi.python.org/pypi?:action=show_md5&digest=dec8441e67880494ee881305059af656
|
||||
md5 dec8441e67880494ee881305059af656 cffi-1.5.0.tar.gz
|
||||
# Calculated based on the hash above
|
||||
sha256 44f76f6c3fc654860821785192eca29bd66531af57d09b681e6d52584604a7e7 cffi-1.5.0.tar.gz
|
||||
27
bsp/buildroot/package/python-cffi/python-cffi.mk
Normal file
27
bsp/buildroot/package/python-cffi/python-cffi.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cffi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CFFI_VERSION = 1.5.0
|
||||
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
||||
PYTHON_CFFI_SITE = https://pypi.python.org/packages/source/c/cffi
|
||||
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