mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-11 13:20:30 +00:00
python3-evdev: fix host header contamination
The attempt to pass in correct headers was being ignored, because it never got updated after distutils class was removed. Switch to SETUPTOOLS_BUILD_ARGS, which setuptools3 class does pay attention to. Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
7eace39caf
commit
8781a8fbcb
@@ -11,7 +11,7 @@ do_compile:prepend() {
|
||||
rm -rf ${S}/evdev/ecodes.c
|
||||
}
|
||||
|
||||
DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h"
|
||||
SETUPTOOLS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-ctypes \
|
||||
|
||||
Reference in New Issue
Block a user