with following flags and patch, I'm down to ~4MB
- I couldn't find what tvhcsa is.
- I understood dvben50221 is required for ca. I have a tuner with ci slot and may try to get it working..., not sure if it's possible.
- I assume I need uriparser, because I'm using over http, not htsp.
- not sure how to disable bonjour
- isn't linuxdvb required if you run tvheadend on linux?
--disable-dvbscan \
--disable-avahi \
--disable-dbus_1 \
--disable-libav \
--enable-bundle \
--disable-hdhomerun_static \
--disable-pie \
--disable-satip_server \
--disable-satip_client \
--disable-imagecache \
--disable-libav \
--disable-ffmpeg_static \
--disable-libx264 \
--disable-libx264_static \
--disable-libx265 \
--disable-libx265_static \
--disable-libvpx \
--disable-libvpx_static \
--disable-libtheora \
--disable-libtheora_static \
--disable-libvorbis \
--disable-libvorbis_static \
--disable-libfdkaac \
--disable-libfdkaac_static \
--disable-nvenc \
--disable-libmfx_static \
--disable-timeshift
make LANGUAGES='de en_US hu ro'
Index: tvheadend/Makefile
===================================================================
--- tvheadend.orig/Makefile
+++ tvheadend/Makefile
@@ -739,6 +739,7 @@ $(BUILDDIR)/bundle.o: $(BUILDDIR)/bundle
$(pCC) -I${ROOTDIR}/src -c -o $@ $<
$(BUILDDIR)/bundle.c: check_dvb_scan make_webui
+ find src/webui/static/img/doc/ -delete
@mkdir -p $(dir $@)
$(pMKBUNDLE) -o $@ -d ${BUILDDIR}/bundle.d $(BUNDLE_FLAGS) $(BUNDLES:%=$(ROOTDIR)/%)
openwrt build environment automatically adds -Os to cflags.
PS. ncdu is a great tool, thanks for the tipp.