diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-04-27 14:14:54 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-09-05 08:29:39 -0700 |
commit | d23612ff10eb6f43cd8e13d4c03fe8d9d38898fd (patch) | |
tree | 924b21b1f25bb0a45639cbe3ccf5b4a142c885b1 /meta-multimedia/classes | |
parent | 3e615d62eb4e11a1e4aa47a980e0fb4130f51e65 (diff) | |
download | meta-openembedded-d23612ff10eb6f43cd8e13d4c03fe8d9d38898fd.tar.gz |
python-evdev: Use target header to generate ecodes.c
ecodes.c is generated file and if we do not specify the
linux input headers it happiliy defaults to /usr/include/
to look for these headers while emitting code for ecodes.c
which can cause gripes when build systems kernel UAPI is
different than the target kernel. Mysterious build errors
or even worse runtime errors can start to appear.
e.g.
| evdev/ecodes.c:603:29: error: 'KEY_ROTATE_LOCK_TOGGLE' undeclared (first use in this function); did you mean 'KEY_ATTENDANT_TOGGLE'?
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
[Handel applied for rocko context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-multimedia/classes')
0 files changed, 0 insertions, 0 deletions