]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
ffmpeg.mk: enable ffmpeg for CST
authorMarkham <markham001@gmx.de>
Sun, 30 Aug 2020 10:47:27 +0000 (12:47 +0200)
committerMarkham <markham001@gmx.de>
Sun, 30 Aug 2020 10:47:27 +0000 (12:47 +0200)
make/ffmpeg.mk

index 504b72d5760ff887bc71739d1c8b1f2a9efb0ba0..8c0951695b5504e1b7609dc634f2ca1481627fc1 100644 (file)
@@ -1,3 +1,8 @@
+ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd1))
+FFMPEG_OPTIONS  = --disable-ffprobe
+FFMPEG_OPTIONS += --disable-ffserver
+endif
+
 ifeq ($(BOXTYPE), coolstream)
 FFMPEG_CONFIGURE = \
                --disable-doc \
@@ -74,7 +79,6 @@ FFMPEG_CONFIGURE = \
                --disable-muxers \
                --enable-muxer=mpegts \
                \
-               --disable-programs \
                --disable-static \
                --disable-filters \
                \
@@ -125,7 +129,8 @@ FFMPEG_CONFIGURE = \
                --disable-neon \
                --disable-runtime-cpudetect \
                --arch=arm \
-               --pkg-config=pkg-config
+               --pkg-config=pkg-config \
+               $(FFMPEG_OPTIONS)
 
 else ifeq ($(BOXTYPE), armbox)
 ifeq ($(FFMPEG_VER), 3.3)
@@ -430,7 +435,7 @@ FFMPEG_CONFIGURE = \
                        --extra-cflags="$(FFMPRG_EXTRA_CFLAGS)" \
                        --arch=arm \
                        --target-os=linux \
-                       --bindir=/sbin \
+                       --bindir=/bin \
                        $(OPTIONAL)
 else
   $(error Boxtype = $(BOXTYPE) not supported)