I have downloaded python-kivy from git hub. Now I want to add this python kivy to my yocto (krogoth-2.1.2)
source. Still I don't know how to compile this python-kivy
. Please help me how to compile the kivy and test in board.
Board: AM335x based board. Thanks in advance.
The preferred way is to create a layer and write a python-kivy recipe file for it.
Writing a recipe for a python package is very easy. The one you mention is even hosted as well in pypi which makes it even easier:
Take this as the simpliest example:
inherit pypi
Inheriting this class, yocto is guessing the package name and version from the file name, and basically you just need to place the checksums.
Note that this provides the python3 version of the component, you need to inherit from setuptools instead of setuptools3 if you want the python2 version
In the same github link there are other recipes which solves some other minor issues which you can encounter when writting this kind of recipes.