Commit Graph

13 Commits

Author SHA1 Message Date
Stefan Gloor
dbf43ca34a recipes/devtools: replace distutils3*.bbclass with setuptools3*.bbclass
distutils3 is deprecated and its use produces warnings during build:

WARNING: distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead
WARNING: distutils3-base.bbclass is deprecated, please use setuptools3-base.bbclass instead
WARNING: distutils3.bbclass is deprecated, please use setuptools3.bbclass instead

setuptools3 should be a drop-in replacement.

Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
2024-12-10 01:02:21 +00:00
alperak
33d7e2bb51 recipes: Switch away from S = WORKDIR and use UNPACKDIR instead of WORKDIR
- The layer compability has also been updated in this PR.

* Using S = ${WORKDIR} is no longer supported.

* UNPACKDIR is new contruct for do_unpack things in latest master we should be using that instead of WORKDIR for referencing those files.

* We don't know yet what changes will be needed to stay compatible with final styhead, but we already know that the last changes for UNPACKDIR aren't compatible with scarthgap, nanbield or others.

https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://docs.yoctoproject.org/dev/ref-manual/variables.html?highlight=unpackdir#term-UNPACKDIR

Signed-off-by: alperak <alperyasinak1@gmail.com>
2024-06-05 17:25:20 +03:00
Marek Belisko
322843f576 pya20: Added support for olinuxino-a20lime2-emmc
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
2024-05-13 09:19:55 +02:00
Christophe Blaess
90189dae67 Fix LICENSE field of some recipes to correspond to Poky ones. 2022-09-09 14:00:13 +02:00
Bartłomiej Burdukiewicz
e66258ad7a
layer: convert to new override syntax 💥
OE/Yocto is migration towards new override syntax,
current master (upcomming honister release) will not
tolerate "_" as override operator.

New override syntax will be backported to
dunfell, gatesgarth, hardknott releases.

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2021-08-23 18:47:19 +02:00
Diego Rondini
2398d55ad4 pya20: update to 0.2.12 and python3
Update pya20 to version 0.2.12:
- support for Python2 has been removed in oe-core master (see commit
390f3edabfb1f68ed9766245291c5f44ea00cc38) so dependencies and classes
have been changed to use Python3. Without this change recipe parsing
fails on master, as distutils class doesn't exist anymore
- license has been fixed to be GPLv3 as declared in pyA20/__init__.py
- setup.py.patch is no longer needed
- pya20som has been removed, as machine olinuxino-a20som is supported by
pya20

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2020-01-29 22:50:09 +00:00
Diogo Piçarra
cee0b74ce4 pypi requires a https connection
(cherry picked from commit 7f5aae9d1c)
2017-10-27 13:46:41 +02:00
Diogo Piçarra
9bfe3ca1ad fixed recipe name, updated version and A20-SOM support added
(cherry picked from commit 88b2d34302)
2017-02-07 13:27:11 +01:00
Diogo Piçarra
ff23db6e55 added a20som support to pyA20
(cherry picked from commit d1593cf467)
2017-02-07 13:27:08 +01:00
Jens Lucius
c27b5d3555 pyA20: Add more olimex boards
pyA20 allows controlling gpio via python. Add more olimex boards:
- A10 Lime
- A20 Lime
- A20 Lime2
- A13 SOM

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-03-02 16:39:10 +01:00
Jens Lucius
31b7c4c8e2 python: pyA20 depend on python and only for olimex boards
Add dependency on python and COMPATIBLE_MACHINE as pyA20 is only
compatible to three olimex boards right now.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-11-28 17:37:09 +01:00
Jens Lucius
5699690a98 python: pyA20 added different GPIO mappings
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>
2014-11-28 12:23:22 +01:00
Jens Lucius
339dc8af45 python: added pyA20 for controlling GPIO
pyA20 allows controlling GPIO, SPI and I2C on Allwinner boards from python.
Although it is named A20 it should work on A10, A13 and other CPUs.
Provided by Olimex for their boards but should work for others as well.
Tested on A20-OLinuXino-MICRO.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-11-28 09:22:02 +01:00