SDK - Compiling failed due to unrecognized command line option '-V'

Hi,
i must compile a newer version of thvheadend. Therefore i edit the version at the
make file of tvheadend.

Make file tvheadend

Copyright (C) 2015 OpenWrt.org

This is free software, licensed under the GNU General Public License v2.

See /LICENSE for more information.

include $(TOPDIR)/rules.mk

PKG_NAME:=tvheadend
PKG_VERSION:=4.2.4
PKG_RELEASE:=1

PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
#PKG_MIRROR_HASH:=c18e3803d6e36348442ccf3b0ac4868948692491c7dd646d48576f5aec09cdd8
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/tvheadend/tvheadend.git
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=LICENSE.md

PKG_FIXUP:=autoreconf

PKG_USE_MIPS16:=0

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk

define Package/tvheadend
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=Tvheadend is a TV streaming server for Linux
DEPENDS:=+libopenssl +librt +zlib +TVHEADEND_AVAHI_SUPPORT:libavahi-client $(ICONV_DEPENDS)
URL:=https://tvheadend.org
MAINTAINER:=Jan Čermák jan.cermak@nic.cz
endef

define Package/tvheadend/description
Tvheadend is a TV streaming server and recorder for Linux, FreeBSD and Android
supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, SAT>IP and HDHomeRun as input sources.

Tvheadend offers the HTTP (VLC, MPlayer), HTSP (Kodi, Movian) and SAT>IP streaming.
endef

define Package/tvheadend/config
menu "Configuration"
depends on PACKAGE_tvheadend
source "$(SOURCE)/Config.in"
endmenu
endef

ifeq ($(CONFIG_TVHEADEND_CWC_SUPPORT),)
CONFIGURE_ARGS += --disable-cwc
endif

ifeq ($(CONFIG_TVHEADEND_LINUXDVB_SUPPORT),)
CONFIGURE_ARGS += --disable-linuxdvb
endif

ifeq ($(CONFIG_TVHEADEND_DVBSCAN_SUPPORT),)
CONFIGURE_ARGS += --disable-dvbscan
endif

ifeq ($(CONFIG_TVHEADEND_AVAHI_SUPPORT),)
CONFIGURE_ARGS += --disable-avahi
else
CONFIGURE_ARGS += --enable-avahi
endif

CONFIGURE_ARGS +=
--arch=$(ARCH)
--disable-dbus_1
--disable-libav
--enable-bundle

define Build/Prepare
$(call Build/Prepare/Default)
echo 'Tvheadend $(shell echo $(PKG_SOURCE_VERSION) | sed "s/^v//")~openwrt$(PKG_RELEASE)'
> $(PKG_BUILD_DIR)/debian/changelog
endef

define Package/conffiles
/etc/config/tvheadend
endef

define Package/tvheadend/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/tvheadend.init $(1)/etc/init.d/tvheadend
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/tvheadend.config $(1)/etc/config/tvheadend

$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/build.linux/tvheadend $(1)/usr/bin/

endef

$(eval $(call BuildPackage,tvheadend))

The compiling failed by compiling ffmpeg,
with the following error.

mips-openwrt-linux-musl-gcc: error: unrecognized command line option ‘-V’

Here the config.log

log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by yasm configure 1.3.0, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/ffmpeg --enable-static --disable-shared --libdir=/ffmpeg/lib

---------

Platform.

---------

hostname = WohnPC
uname -m = x86_64
uname -r = 4.4.0-97-generic
uname -s = Linux
uname -v = #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/build/ffmpeg/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/host/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/host/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/host/bin
PATH: /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/host/bin
PATH: /home/marco/bin
PATH: /home/marco/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin

-----------

Core tests.

-----------

configure:2390: loading site script /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/include/site/mips
| #!/bin/sh
| . $TOPDIR/include/site/linux
| ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
| ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
|
| ac_cv_sizeof___int64=0
| ac_cv_sizeof_char=1
| ac_cv_sizeof_int=4
| ac_cv_sizeof_int16_t=2
| ac_cv_sizeof_int32_t=4
| ac_cv_sizeof_int64_t=8
| ac_cv_sizeof_long_int=4
| ac_cv_sizeof_long_long=8
| ac_cv_sizeof_long=4
| ac_cv_sizeof_off_t=8
| ac_cv_sizeof_short_int=2
| ac_cv_sizeof_short=2
| ac_cv_sizeof_size_t=4
| ac_cv_sizeof_ssize_t=4
| ac_cv_sizeof_u_int16_t=2
| ac_cv_sizeof_u_int32_t=4
| ac_cv_sizeof_u_int64_t=8
| ac_cv_sizeof_uint16_t=2
| ac_cv_sizeof_uint32_t=4
| ac_cv_sizeof_uint64_t=8
| ac_cv_sizeof_unsigned_int=4
| ac_cv_sizeof_unsigned_long=4
| ac_cv_sizeof_unsigned_long_long=8
| ac_cv_sizeof_unsigned_short=2
| ac_cv_sizeof_void_p=4
configure:2536: checking for a BSD-compatible install
configure:2604: result: /usr/bin/install -c
configure:2615: checking whether build environment is sane
configure:2670: result: yes
configure:2821: checking for a thread-safe mkdir -p
configure:2860: result: /bin/mkdir -p
configure:2867: checking for gawk
configure:2883: found /usr/bin/gawk
configure:2894: result: gawk
configure:2905: checking whether make sets $(MAKE)
configure:2927: result: yes
configure:2956: checking whether make supports nested variables
configure:2973: result: yes
configure:3099: checking whether to enable maintainer-specific portions of Makefiles
configure:3108: result: no
configure:3204: checking for style of include used by make
configure:3232: result: GNU
configure:3303: checking for gcc
configure:3330: result: ccache_cc
configure:3559: checking for C compiler version
configure:3568: ccache_cc --version >&5
mips-openwrt-linux-musl-gcc (LEDE GCC 5.5.0 r5142-20d363a) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3579: $? = 0
configure:3568: ccache_cc -v >&5
Reading specs from /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/bin/../lib/gcc/mips-openwrt-linux-musl/5.5.0/specs
COLLECT_GCC=/home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/bin/mips-openwrt-linux-musl-gcc
COLLECT_LTO_WRAPPER=/home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/bin/../libexec/gcc/mips-openwrt-linux-musl/5.5.0/lto-wrapper
Target: mips-openwrt-linux-musl
Configured with: /home/buildbot/slave-lede-local/ar71xx_generic/build/build_dir/toolchain-mips_24kc_gcc-5.5.0_musl/gcc-5.5.0/configure --with-bugurl=http://www.lede-project.org/bugs/ --with-pkgversion='LEDE GCC 5.5.0 r5142-20d363a' --prefix=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=mips-openwrt-linux-musl --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-float=soft --with-gmp=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/host --with-mpfr=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/host --with-mpc=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/host --disable-decimal-float --with-mips-plt --with-diagnostics-color=auto-if-env --disable-libssp --enable-__cxa_atexit --with-headers=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/include --disable-libsanitizer --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/lib --enable-lto --with-libelf=/home/buildbot/slave-lede-local/ar71xx_generic/build/staging_dir/host
Thread model: posix
gcc version 5.5.0 (LEDE GCC 5.5.0 r5142-20d363a)
configure:3579: $? = 0
configure:3568: ccache_cc -V >&5
mips-openwrt-linux-musl-gcc: error: unrecognized command line option '-V'
mips-openwrt-linux-musl-gcc: fatal error: no input files
compilation terminated.
configure:3579: $? = 1
configure:3568: ccache_cc -qversion >&5
mips-openwrt-linux-musl-gcc: error: unrecognized command line option '-qversion'
mips-openwrt-linux-musl-gcc: fatal error: no input files
compilation terminated.
configure:3579: $? = 1
configure:3599: checking whether the C compiler works
configure:3621: ccache_cc conftest.c >&5
cc1: note: someone does not honour COPTS correctly, passed 0 times
configure:3625: $? = 0
configure:3673: result: yes
configure:3676: checking for C compiler default output file name
configure:3678: result: a.out
configure:3684: checking for suffix of executables
configure:3691: ccache_cc -o conftest conftest.c >&5
cc1: note: someone does not honour COPTS correctly, passed 0 times
configure:3695: $? = 0
configure:3717: result:
configure:3739: checking whether we are cross compiling
configure:3747: ccache_cc -o conftest conftest.c >&5
cc1: note: someone does not honour COPTS correctly, passed 0 times
configure:3751: $? = 0
configure:3758: ./conftest
./configure: line 3760: ./conftest: cannot execute binary file: Exec format error
configure:3762: $? = 126
configure:3769: error: in /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0': configure:3771: error: cannot run C compiled programs. If you meant to cross compile, use--host'.
See `config.log' for more details

----------------

Cache variables.

----------------

ac_cv_c_bigendian=yes
ac_cv_c_gettext_without_libintl=yes
ac_cv_c_littleendian=no
ac_cv_c_long_double=no
ac_cv_conv_longlong_to_float=yes
ac_cv_env_CCLD_FOR_BUILD_set=
ac_cv_env_CCLD_FOR_BUILD_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=ccache_cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_HOST_set=
ac_cv_env_CPP_FOR_HOST_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_zero=yes
ac_cv_func___adjtimex=yes
ac_cv_func___va_copy=no
ac_cv_func__exit=yes
ac_cv_func_bcmp=yes
ac_cv_func_bcopy=yes
ac_cv_func_bzero=yes
ac_cv_func_cimag=yes
ac_cv_func_creal=yes
ac_cv_func_fchmod=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getcwd=yes
ac_cv_func_getdomainname=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_index=yes
ac_cv_func_lstat=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_lstat_empty_string_bug=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_malloc_works=yes
ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_psignal=yes
ac_cv_func_pthread_key_delete=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_realloc_works=yes
ac_cv_func_rename=yes
ac_cv_func_rindex=yes
ac_cv_func_setgrent_void=yes
ac_cv_func_setlocale=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setresuid=no
ac_cv_func_setvbuf_reversed=no
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_stat_ignores_trailing_slash=no
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_utimes=yes
ac_cv_func_va_copy=no
ac_cv_func_vsnprintf=yes
ac_cv_have_accrights_in_msghdr=no
ac_cv_have_broken_snprintf=no
ac_cv_have_control_in_msghdr=yes
ac_cv_have_decl_sys_siglist=no
ac_cv_have_openpty_ctty_bug=yes
ac_cv_have_space_d_name_in_struct_dirent=yes
ac_cv_header_netinet_sctp_h=no
ac_cv_header_netinet_sctp_uio_h=no
ac_cv_int64_t=yes
ac_cv_lbl_unaligned_fail=no
ac_cv_linux_kernel_pppoe=yes
ac_cv_linux_vers=2
ac_cv_pack_bitfields_reversed=yes
ac_cv_path_LDCONFIG=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=ccache_cc
ac_cv_prog_make_make_set=yes
ac_cv_regexec_segfault_emptystr=no
ac_cv_sctp=no
ac_cv_sizeof___int64=0
ac_cv_sizeof_char=1
ac_cv_sizeof_int16_t=2
ac_cv_sizeof_int32_t=4
ac_cv_sizeof_int64_t=8
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_int=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short=2
ac_cv_sizeof_short_int=2
ac_cv_sizeof_size_t=4
ac_cv_sizeof_ssize_t=4
ac_cv_sizeof_u_int16_t=2
ac_cv_sizeof_u_int32_t=4
ac_cv_sizeof_u_int64_t=8
ac_cv_sizeof_uint16_t=2
ac_cv_sizeof_uint32_t=4
ac_cv_sizeof_uint64_t=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=4
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=4
ac_cv_sys_restartable_syscalls=yes
ac_cv_time_r_type=POSIX
ac_cv_type_suseconds_t=yes
ac_cv_uchar=no
ac_cv_uint64_t=yes
ac_cv_uint=yes
ac_cv_ulong=yes
ac_cv_ushort=yes
ac_cv_va_copy=C99
ac_cv_va_val_copy=yes
am_cv_make_support_nested_variables=yes
as_cv_unaligned_access=yes

-----------------

Output variables.

-----------------

ACLOCAL='${SHELL} /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0/config/missing aclocal-1.14'
AMDEPBACKSLASH=''
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='mips-openwrt-linux-musl-gcc-ar'
ARCH='mips'
AUTOCONF='${SHELL} /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0/config/missing autoconf'
AUTOHEADER='${SHELL} /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0/config/missing autoheader'
AUTOMAKE='${SHELL} /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0/config/missing automake-1.14'
AWK='gawk'
BUILD_MAN_FALSE=''
BUILD_MAN_TRUE=''
CC='ccache_cc'
CCDEPMODE=''
CCLD_FOR_BUILD=''
CC_FOR_BUILD=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CPP_FOR_HOST=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GCC='ccache_cc'
GETTEXT_MACRO_VERSION=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
HAVE_PYTHON_BINDINGS_FALSE=''
HAVE_PYTHON_BINDINGS_TRUE=''
HAVE_PYTHON_FALSE=''
HAVE_PYTHON_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0/config/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
MORE_CFLAGS=''
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
OBJEXT=''
PACKAGE='yasm'
PACKAGE_BUGREPORT='bug-yasm@tortall.net'
PACKAGE_NAME='yasm'
PACKAGE_STRING='yasm 1.3.0'
PACKAGE_TARNAME='yasm'
PACKAGE_URL=''
PACKAGE_VERSION='1.3.0'
PATH_SEPARATOR=':'
POSUB=''
PYTHON=''
PYTHON_EXEC_PREFIX=''
PYTHON_INCLUDES=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB='mips-openwrt-linux-musl-gcc-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='mips-openwrt-linux-musl-strip'
USE_NLS=''
VERSION='1.3.0'
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
XMLTO=''
ac_ct_AR=''
ac_ct_CC='ccache_cc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/marco/router/SDK_c7/lede-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/tvheadend/build.linux/ffmpeg/yasm-1.3.0/config/install-sh'
libdir='/ffmpeg/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/ffmpeg'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME "yasm"
#define PACKAGE_TARNAME "yasm"
#define PACKAGE_VERSION "1.3.0"
#define PACKAGE_STRING "yasm 1.3.0"
#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
#define PACKAGE_URL ""
#define PACKAGE "yasm"
#define VERSION "1.3.0"

configure: exit 1

With the preset version (4.0.9) in the make file of tvheadend, i have no problems at compiling.
Any suggestions?
Is this the right way to update tvheadend?