Packages: Add pypio and ultrasonic-distance packages.
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
parent
ca88c1b895
commit
fb16c670fa
@ -8,6 +8,10 @@ BBFILES += " \
|
|||||||
${LAYERDIR}/recipes-*/*/*.bbappend \
|
${LAYERDIR}/recipes-*/*/*.bbappend \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
PREFERRED_VERSION_pypio ?= "1.0.0"
|
||||||
|
PREFERRED_VERSION_pywm ?= "1.0.0"
|
||||||
|
PREFERRED_VERSION_ultrasonic-distance ?= "1.0.0"
|
||||||
|
|
||||||
BBFILE_COLLECTIONS += "meta-bbb"
|
BBFILE_COLLECTIONS += "meta-bbb"
|
||||||
BBFILE_PATTERN_meta-bbb = "^${LAYERDIR}/"
|
BBFILE_PATTERN_meta-bbb = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_meta-bbb = "7"
|
BBFILE_PRIORITY_meta-bbb = "7"
|
||||||
|
@ -26,6 +26,7 @@ KERNEL_EXTRA_INSTALL = " \
|
|||||||
|
|
||||||
WIFI_SUPPORT = " \
|
WIFI_SUPPORT = " \
|
||||||
iw \
|
iw \
|
||||||
|
linux-firmware-rtl8188 \
|
||||||
linux-firmware-rtl8192cu \
|
linux-firmware-rtl8192cu \
|
||||||
wireless-tools \
|
wireless-tools \
|
||||||
wpa-supplicant \
|
wpa-supplicant \
|
||||||
@ -44,10 +45,14 @@ EXTRA_TOOLS_INSTALL = " \
|
|||||||
acpid \
|
acpid \
|
||||||
bc \
|
bc \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
dosfstools \
|
||||||
|
e2fsprogs-mke2fs \
|
||||||
ethtool \
|
ethtool \
|
||||||
findutils \
|
findutils \
|
||||||
|
htop \
|
||||||
i2c-tools \
|
i2c-tools \
|
||||||
less \
|
less \
|
||||||
|
mc \
|
||||||
procps \
|
procps \
|
||||||
rsync \
|
rsync \
|
||||||
sysfsutils \
|
sysfsutils \
|
||||||
@ -65,8 +70,9 @@ MQTT = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
PYTHON_LIBS = " \
|
PYTHON_LIBS = " \
|
||||||
mypy \
|
pypio \
|
||||||
pywm \
|
pywm \
|
||||||
|
ultrasonic-distance \
|
||||||
"
|
"
|
||||||
|
|
||||||
IMAGE_INSTALL += " \
|
IMAGE_INSTALL += " \
|
||||||
|
28
recipes-devtools/pypio/pypio_1.0.0.bb
Normal file
28
recipes-devtools/pypio/pypio_1.0.0.bb
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
DESCRIPTION = "python hardware abstraction"
|
||||||
|
SECTION = "devtools"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
PV = "1.0.0"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit setuptools
|
||||||
|
inherit allarch
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
git://gitlab.blackfinn.de/python/pypio.git;protocol=https;tag=${PV} \
|
||||||
|
"
|
||||||
|
SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3"
|
||||||
|
|
||||||
|
|
||||||
|
DEPENDS = " \
|
||||||
|
python \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = " \
|
||||||
|
\
|
||||||
|
"
|
||||||
|
|
@ -0,0 +1,28 @@
|
|||||||
|
DESCRIPTION = "python hardware abstraction"
|
||||||
|
SECTION = "devtools"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
PV = "1.0.0"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit setuptools
|
||||||
|
inherit allarch
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
git://gitlab.blackfinn.de/python/ultrasonic-distance.git;protocol=https;tag=${PV} \
|
||||||
|
"
|
||||||
|
SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3"
|
||||||
|
|
||||||
|
|
||||||
|
DEPENDS = " \
|
||||||
|
python \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = " \
|
||||||
|
pypio \
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user