From 6a0c6ac9c9da6ec1c0066baabc914bc68b0b2d33 Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Mon, 21 Sep 2026 21:22:12 +1000 Subject: [PATCH] fix python-evdev --- package/python-evdev/python-evdev.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk index 35e89def8d..bf23128a62 100644 --- a/package/python-evdev/python-evdev.mk +++ b/package/python-evdev/python-evdev.mk @@ -21,6 +21,8 @@ PYTHON_EVDEV_BUILD_OPTS = \ -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h # batocera - Build with the headers in staging so the generated ecodes.py is for the target +HOST_PYTHON_EVDEV_DEPENDENCIES = linux-headers + HOST_PYTHON_EVDEV_BUILD_OPTS = \ -C--build-option=build_ecodes \ -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h