diff --git a/package/kodi/Config.in b/package/kodi/Config.in index e8c9244391..8dd37942db 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -164,6 +164,11 @@ config BR2_PACKAGE_KODI_LIBCEC comment "hdmi cec support needs udev /dev management and a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS || !BR2_PACKAGE_HAS_UDEV +config BR2_PACKAGE_KODI_LIRC + bool "lirc" + help + Enable lirc support + config BR2_PACKAGE_KODI_LIBMICROHTTPD bool "web server" select BR2_PACKAGE_LIBMICROHTTPD diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index e5304abf20..6399ff1d92 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -186,6 +186,12 @@ else KODI_CONF_OPTS += --disable-libcec endif +ifeq ($(BR2_PACKAGE_KODI_LIRC),y) +KODI_CONF_OPTS += --enable-lirc +else +KODI_CONF_OPTS += --disable-lirc +endif + ifeq ($(BR2_PACKAGE_KODI_WAVPACK),y) KODI_DEPENDENCIES += wavpack endif