Skip to contentSkip to conversation

package/libevdev: add dependency on host-python

PATCH New Yann E. MORIN 2 participants 2 messages Dec 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libevdev: add dependency on host-python

From: "Yann E. MORIN" <[email protected]>

libevdev needs python to generate a header file. We can't rely on the 1system pPython, since it may be too old (missing argparse in python 2.6).

Fixes:

    http://autobuild.buildroot.net/results/1f5c0689ae129ae5fa30f31a4f47ccbd7705ff00/
    http://autobuild.buildroot.net/results/1729043d9c977a59a4fdd7ccd3d16cfc8aef7678/
    http://autobuild.buildroot.net/results/3ab080e96576e0012fea853009811247338e665e/
Cc Thomas Petazzoni <[email protected]>
---
 package/libevdev/libevdev.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/libevdev/libevdev.mk +5 -0
index 338bebd..693da24 100644
@@ -12,6 +12,11 @@ LIBEVDEV_LICENSE_FILES = COPYING
 # Uses PKG_CHECK_MODULES() in configure.ac
 LIBEVDEV_DEPENDENCIES = host-pkgconf
 
+# Needs Python to generate a header file
+# We can't rely on the system pPython, since it may be too old
+# (missing argparse in python 2.6)
+LIBEVDEV_DEPENDENCIES += host-python
+
 # package source code coming from git, so it doesn't have generated
 # configure and Makefile.in
 LIBEVDEV_AUTORECONF = YES
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 package/libevdev: add dependency on host-python

Dear Yann E. MORIN,

Quoted 11 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

libevdev needs python to generate a header file. We can't rely on the 1system pPython, since it may be too old (missing argparse in python 2.6).

Fixes:

    http://autobuild.buildroot.net/results/1f5c0689ae129ae5fa30f31a4f47ccbd7705ff00/
    http://autobuild.buildroot.net/results/1729043d9c977a59a4fdd7ccd3d16cfc8aef7678/
    http://autobuild.buildroot.net/results/3ab080e96576e0012fea853009811247338e665e/
Quoted 5 lines
Cc Thomas Petazzoni <[email protected]>
---
 package/libevdev/libevdev.mk | 5 +++++
 1 file changed, 5 insertions(+)

Thanks, applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com