python-evdev: add mandatory uinput.h header to builder

Starting from 1.9.2 python-evdev requires
include/uapi/linux/uinput.h headers for proper building.
Otherwise, it compiles but cannot be imported causing
KeyError: 'UI_FF'

Add uinput.h to LINUX_EVDEV_HEADERS

Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
This commit is contained in:
Ivan Belokobylskiy
2026-03-07 17:51:05 +04:00
committed by Alexandru Ardelean
parent a01d2a9440
commit b016aa38c3

View File

@@ -37,7 +37,7 @@ define Package/python3-evdev/description
Bindings to the Linux input handling subsystem
endef
LINUX_EVDEV_HEADERS="$(LINUX_DIR)/include/uapi/linux/input.h:$(LINUX_DIR)/include/uapi/linux/input-event-codes.h"
LINUX_EVDEV_HEADERS="$(LINUX_DIR)/include/uapi/linux/input.h:$(LINUX_DIR)/include/uapi/linux/uinput.h:$(LINUX_DIR)/include/uapi/linux/input-event-codes.h"
PYTHON3_PKG_BUILD_CONFIG_SETTINGS:= \
--build-option=build \