libevdev: adjust host-python dependency
PATCH 1/1 libevdev: adjust host-python dependency
libevdev depends on host-python because of some of its build scripts. These build scripts support python2 and python3.
When python3 is part of the target selection, then we can just use the interpreter provided by the host-python3 package.
Fixes:
http://autobuild.buildroot.net/results/dd0/dd04833b11a0ebb0193c861cb375b2112dd339d1/
--- package/libevdev/libevdev.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/libevdev/libevdev.mk +3 -1
@@ -15,7 +15,9 @@ LIBEVDEV_DEPENDENCIES = host-pkgconf # Needs Python to generate a header file # We can't rely on the system Python, since it may be too old # (missing argparse in python 2.6) -LIBEVDEV_DEPENDENCIES += host-python +# libevdev build scripts support both python2 and python3, so avoid unneeded +# dependency on host-python. +LIBEVDEV_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) # package source code coming from git, so it doesn't have generated # configure and Makefile.in
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 1/1 libevdev: adjust host-python dependency
Dear Samuel Martin,
Quoted 6 lines · Samuel Martin
libevdev depends on host-python because of some of its build scripts. These build scripts support python2 and python3.
When python3 is part of the target selection, then we can just use the interpreter provided by the host-python3 package.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/dd0/dd04833b11a0ebb0193c861cb375b2112dd339d1/Signed-off-by Samuel Martin <[email protected]>--- package/libevdev/libevdev.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com