mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-08 06:18:22 +01:00
5699690a98
Unfortunately there is a difference between different boards when using pyA20 - the GPIO mappings. Olimex tried to solve this by providing different packages for different boards. Just made the receipe use different mappings.h, so it can be easily adjusted to different boards in one receipe. Signed-off-by: Jens Lucius <info@jenslucius.com>
21 lines
659 B
BlitzBasic
21 lines
659 B
BlitzBasic
DESCRIPTION = "A module to control Allwinner GPIO,SPI and I2C channels"
|
|
HOMEPAGE = "https://pypi.python.org/pypi/pyA20"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b4cb7d5da6f1efc1d0bf487169e83985"
|
|
|
|
SRC_URI = "http://pypi.python.org/packages/source/p/pyA20/pyA20-${PV}.tar.gz \
|
|
file://setup.py.patch \
|
|
file://mapping.h \
|
|
"
|
|
S = "${WORKDIR}/pyA20-${PV}"
|
|
|
|
inherit distutils
|
|
|
|
do_compile_prepend() {
|
|
cp ${WORKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h
|
|
}
|
|
|
|
SRC_URI[md5sum] = "b4115859834f09ebd389f810f2ffefb9"
|
|
SRC_URI[sha256sum] = "9855747d9bbdfcce6b460fcd67d953155e39f4e002a9a4c573910248b451dad8"
|