Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
From 3d6e59bff088783f249a60a5f1c900c7f99f933b Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sun, 31 Jan 2016 15:03:50 +0100
Subject: [PATCH 1/1] Fix build with musl libc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Include missing header to prevent build error:
spidev_module.c: In function SpiDev_xfer:
spidev_module.c:330:27: error: _IOC_SIZEBITS undeclared (first use in this function)
status = ioctl(self->fd, SPI_IOC_MESSAGE(1), &xfer);
^
spidev_module.c:330:27: note: each undeclared identifier is reported only once for each function it appears in
spidev_module.c: In function SpiDev_xfer2:
spidev_module.c:421:27: error: _IOC_SIZEBITS undeclared (first use in this function)
status = ioctl(self->fd, SPI_IOC_MESSAGE(1), &xfer);
^
Signed-off-by: Bernd Kuhls bernd.kuhls@t-online.de
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
Patch sent upstream: https://github.com/doceme/py-spidev/pull/39
spidev_module.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/spidev_module.c b/spidev_module.c
index d58ef07..bccaacf 100644
--- a/spidev_module.c
+++ b/spidev_module.c
@@ -25,6 +25,7 @@
#include <linux/spi/spidev.h>
#include <linux/types.h>
#include <sys/ioctl.h>
+#include <linux/ioctl.h>
#define SPIDEV_MAXPATH 4096
--
2.7.0

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_SPIDEV
bool "python-spidev"
help
Python module for interfacing with SPI devices from user
space via the spidev linux kernel driver.
https://pypi.python.org/pypi/spidev

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 355391e9ad3024950590626b080324394c12e75bb21923dbd56a978a1eac6ac7 spidev-3.1.tar.gz

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-spidev
#
################################################################################
PYTHON_SPIDEV_VERSION = 3.1
PYTHON_SPIDEV_SOURCE = spidev-$(PYTHON_SPIDEV_VERSION).tar.gz
PYTHON_SPIDEV_SITE = https://pypi.python.org/packages/source/s/spidev
PYTHON_SPIDEV_SETUP_TYPE = distutils
PYTHON_SPIDEV_LICENSE = GPLv2
PYTHON_SPIDEV_LICENSE_FILES = LICENSE.md
$(eval $(python-package))