diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index 43ff979a19..11f882aa97 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -39,6 +39,13 @@ else TVHEADEND_CONF_OPTS += --disable-dvbcsa endif +ifeq ($(BR2_PACKAGE_LIBHDHOMERUN),y) +TVHEADEND_DEPENDENCIES += libhdhomerun +TVHEADEND_CONF_OPTS += --enable-hdhomerun_client +else +TVHEADEND_CONF_OPTS += --disable-hdhomerun_client +endif + ifeq ($(BR2_PACKAGE_LIBICONV),y) TVHEADEND_DEPENDENCIES += libiconv endif