This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list.
There is a libgpiod2 package in buildroot, with the option --disable-bindings-python set.
I modified it to pass the --enable-bindings-python, but it doesn't work.
At the setup.py stage, the host compiler is used.
I don't support the buildroot recipe but for Python: using Makefile is just a development tool. The actual recipe should fetch sources from pypi. Please look at what meta-openembedded does.
There is a libgpiod2 package in buildroot, with the option --disable-bindings-python set. I modified it to pass the --enable-bindings-python, but it doesn't work. At the setup.py stage, the host compiler is used.
Here is the output :
Has you can see, setup.py is not using the cross CC. I tried to mess with Makefile.am like this
I added the echo $(CC) line, and the output is
Why is setup.py no using the CC variables ?