packages: rename misc. occurrences of _OPT into _OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, change remaining occurrences of _OPT into _OPTS. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f6fe8932df
commit
ed8338b868
|
@ -11,9 +11,9 @@ LINUX_DEPENDENCIES += xenomai
|
||||||
# Adeos patch version
|
# Adeos patch version
|
||||||
XENOMAI_ADEOS_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH))
|
XENOMAI_ADEOS_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH))
|
||||||
ifeq ($(XENOMAI_ADEOS_PATCH),)
|
ifeq ($(XENOMAI_ADEOS_PATCH),)
|
||||||
XENOMAI_ADEOS_OPT = --default
|
XENOMAI_ADEOS_OPTS = --default
|
||||||
else
|
else
|
||||||
XENOMAI_ADEOS_OPT = --adeos=$(XENOMAI_ADEOS_PATCH)
|
XENOMAI_ADEOS_OPTS = --adeos=$(XENOMAI_ADEOS_PATCH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Prepare kernel patch
|
# Prepare kernel patch
|
||||||
|
@ -21,7 +21,7 @@ define XENOMAI_PREPARE_KERNEL
|
||||||
$(XENOMAI_DIR)/scripts/prepare-kernel.sh \
|
$(XENOMAI_DIR)/scripts/prepare-kernel.sh \
|
||||||
--linux=$(LINUX_DIR) \
|
--linux=$(LINUX_DIR) \
|
||||||
--arch=$(KERNEL_ARCH) \
|
--arch=$(KERNEL_ARCH) \
|
||||||
$(XENOMAI_ADEOS_OPT) \
|
$(XENOMAI_ADEOS_OPTS) \
|
||||||
--verbose
|
--verbose
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ BOOST_DEPENDENCIES += python
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
HOST_BOOST_OPT += toolset=gcc threading=multi variant=release link=shared \
|
HOST_BOOST_OPTS += toolset=gcc threading=multi variant=release link=shared \
|
||||||
runtime-link=shared
|
runtime-link=shared
|
||||||
|
|
||||||
ifeq ($(BR2_MIPS_OABI32),y)
|
ifeq ($(BR2_MIPS_OABI32),y)
|
||||||
|
@ -88,7 +88,7 @@ else
|
||||||
BOOST_ABI = sysv
|
BOOST_ABI = sysv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BOOST_OPT += toolset=gcc \
|
BOOST_OPTS += toolset=gcc \
|
||||||
threading=multi \
|
threading=multi \
|
||||||
abi=$(BOOST_ABI) \
|
abi=$(BOOST_ABI) \
|
||||||
variant=$(if $(BR2_ENABLE_DEBUG),debug,release) \
|
variant=$(if $(BR2_ENABLE_DEBUG),debug,release) \
|
||||||
|
@ -98,7 +98,7 @@ BOOST_OPT += toolset=gcc \
|
||||||
ifeq ($(BR2_PACKAGE_BOOST_LOCALE),y)
|
ifeq ($(BR2_PACKAGE_BOOST_LOCALE),y)
|
||||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||||
# posix backend needs monetary.h which isn't available on uClibc
|
# posix backend needs monetary.h which isn't available on uClibc
|
||||||
BOOST_OPT += boost.locale.posix=off
|
BOOST_OPTS += boost.locale.posix=off
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BOOST_DEPENDENCIES += $(if $(BR2_ENABLE_LOCALE),,libiconv)
|
BOOST_DEPENDENCIES += $(if $(BR2_ENABLE_LOCALE),,libiconv)
|
||||||
|
@ -123,7 +123,7 @@ endef
|
||||||
define BOOST_INSTALL_TARGET_CMDS
|
define BOOST_INSTALL_TARGET_CMDS
|
||||||
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
|
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
|
||||||
--user-config=$(@D)/user-config.jam \
|
--user-config=$(@D)/user-config.jam \
|
||||||
$(BOOST_OPT) \
|
$(BOOST_OPTS) \
|
||||||
--prefix=$(TARGET_DIR)/usr \
|
--prefix=$(TARGET_DIR)/usr \
|
||||||
--layout=$(BOOST_LAYOUT) install )
|
--layout=$(BOOST_LAYOUT) install )
|
||||||
endef
|
endef
|
||||||
|
@ -131,14 +131,14 @@ endef
|
||||||
define HOST_BOOST_BUILD_CMDS
|
define HOST_BOOST_BUILD_CMDS
|
||||||
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
|
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
|
||||||
--user-config=$(@D)/user-config.jam \
|
--user-config=$(@D)/user-config.jam \
|
||||||
$(HOST_BOOST_OPT) \
|
$(HOST_BOOST_OPTS) \
|
||||||
--prefix=$(HOST_DIR)/usr )
|
--prefix=$(HOST_DIR)/usr )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_BOOST_INSTALL_CMDS
|
define HOST_BOOST_INSTALL_CMDS
|
||||||
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
|
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
|
||||||
--user-config=$(@D)/user-config.jam \
|
--user-config=$(@D)/user-config.jam \
|
||||||
$(HOST_BOOST_OPT) \
|
$(HOST_BOOST_OPTS) \
|
||||||
--prefix=$(HOST_DIR)/usr \
|
--prefix=$(HOST_DIR)/usr \
|
||||||
--layout=$(BOOST_LAYOUT) install )
|
--layout=$(BOOST_LAYOUT) install )
|
||||||
endef
|
endef
|
||||||
|
@ -146,7 +146,7 @@ endef
|
||||||
define BOOST_INSTALL_STAGING_CMDS
|
define BOOST_INSTALL_STAGING_CMDS
|
||||||
(cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -d+1 \
|
(cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -d+1 \
|
||||||
--user-config=$(@D)/user-config.jam \
|
--user-config=$(@D)/user-config.jam \
|
||||||
$(BOOST_OPT) \
|
$(BOOST_OPTS) \
|
||||||
--prefix=$(STAGING_DIR)/usr \
|
--prefix=$(STAGING_DIR)/usr \
|
||||||
--layout=$(BOOST_LAYOUT) install)
|
--layout=$(BOOST_LAYOUT) install)
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -11,15 +11,15 @@ DHCPCD_DEPENDENCIES = host-pkgconf
|
||||||
DHCPCD_LICENSE = BSD-2c
|
DHCPCD_LICENSE = BSD-2c
|
||||||
|
|
||||||
ifeq ($(BR2_INET_IPV6),)
|
ifeq ($(BR2_INET_IPV6),)
|
||||||
DHCPCD_CONFIG_OPT += --disable-ipv6
|
DHCPCD_CONFIG_OPTS += --disable-ipv6
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
DHCPCD_CONFIG_OPT += --enable-static
|
DHCPCD_CONFIG_OPTS += --enable-static
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_USE_MMU),)
|
ifeq ($(BR2_USE_MMU),)
|
||||||
DHCPCD_CONFIG_OPT += --disable-fork
|
DHCPCD_CONFIG_OPTS += --disable-fork
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define DHCPCD_CONFIGURE_CMDS
|
define DHCPCD_CONFIGURE_CMDS
|
||||||
|
@ -27,7 +27,7 @@ define DHCPCD_CONFIGURE_CMDS
|
||||||
$(TARGET_CONFIGURE_OPTS) ./configure \
|
$(TARGET_CONFIGURE_OPTS) ./configure \
|
||||||
--target=$(BR2_GCC_TARGET_ARCH) \
|
--target=$(BR2_GCC_TARGET_ARCH) \
|
||||||
--os=linux \
|
--os=linux \
|
||||||
$(DHCPCD_CONFIG_OPT) )
|
$(DHCPCD_CONFIG_OPTS) )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define DHCPCD_BUILD_CMDS
|
define DHCPCD_BUILD_CMDS
|
||||||
|
|
|
@ -20,7 +20,7 @@ HOST_FREETYPE_CONF_OPTS = --without-zlib --without-bzip2 --without-png
|
||||||
# Regen required because the tarball ships with an experimental ltmain.sh
|
# Regen required because the tarball ships with an experimental ltmain.sh
|
||||||
# that can't be patched by our infra.
|
# that can't be patched by our infra.
|
||||||
# autogen.sh is because autotools stuff lives in other directories and
|
# autogen.sh is because autotools stuff lives in other directories and
|
||||||
# even AUTORECONF with _OPT doesn't do it properly.
|
# even AUTORECONF with _OPTS doesn't do it properly.
|
||||||
# POST_PATCH is because we still need to patch libtool after the regen.
|
# POST_PATCH is because we still need to patch libtool after the regen.
|
||||||
define FREETYPE_RUN_AUTOGEN
|
define FREETYPE_RUN_AUTOGEN
|
||||||
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
||||||
|
|
|
@ -10,69 +10,69 @@ GST_FFMPEG_SITE = http://gstreamer.freedesktop.org/src/gst-ffmpeg
|
||||||
GST_FFMPEG_INSTALL_STAGING = YES
|
GST_FFMPEG_INSTALL_STAGING = YES
|
||||||
GST_FFMPEG_DEPENDENCIES = host-pkgconf gstreamer gst-plugins-base
|
GST_FFMPEG_DEPENDENCIES = host-pkgconf gstreamer gst-plugins-base
|
||||||
|
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT = \
|
GST_FFMPEG_CONF_EXTRA_OPTS = \
|
||||||
--cross-prefix=$(TARGET_CROSS) \
|
--cross-prefix=$(TARGET_CROSS) \
|
||||||
--target-os=linux
|
--target-os=linux
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-zlib
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-zlib
|
||||||
GST_FFMPEG_DEPENDENCIES += zlib
|
GST_FFMPEG_DEPENDENCIES += zlib
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-zlib
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-bzlib
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-bzlib
|
||||||
GST_FFMPEG_DEPENDENCIES += bzip2
|
GST_FFMPEG_DEPENDENCIES += bzip2
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-bzlib
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-bzlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-yasm
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-yasm
|
||||||
GST_FFMPEG_DEPENDENCIES += host-yasm
|
GST_FFMPEG_DEPENDENCIES += host-yasm
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-yasm
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-yasm
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-mmx
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-mmx
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-sse
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-sse
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-sse
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-sse
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_X86_CPU_HAS_SSSE3),y)
|
ifeq ($(BR2_X86_CPU_HAS_SSSE3),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-ssse3
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-ssse3
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-ssse3
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-ssse3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Explicitly disable everything that doesn't match for ARM
|
# Explicitly disable everything that doesn't match for ARM
|
||||||
# FFMPEG "autodetects" by compiling an extended instruction via AS
|
# FFMPEG "autodetects" by compiling an extended instruction via AS
|
||||||
# This works on compilers that aren't built for generic by default
|
# This works on compilers that aren't built for generic by default
|
||||||
ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),y)
|
ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-armv5te
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-armv5te
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf_s),y)
|
ifeq ($(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf_s),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-armv6
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-armv6
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-armv6 --disable-armv6t2
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-armv6 --disable-armv6t2
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-neon
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-neon
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
|
ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-altivec
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-altivec
|
||||||
else
|
else
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --disable-altivec
|
GST_FFMPEG_CONF_EXTRA_OPTS += --disable-altivec
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
||||||
GST_FFMPEG_CONF_EXTRA_OPT += --enable-pic
|
GST_FFMPEG_CONF_EXTRA_OPTS += --enable-pic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GST_FFMPEG_CONF_OPTS = --with-ffmpeg-extra-configure="$(GST_FFMPEG_CONF_EXTRA_OPT)"
|
GST_FFMPEG_CONF_OPTS = --with-ffmpeg-extra-configure="$(GST_FFMPEG_CONF_EXTRA_OPTS)"
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -10,74 +10,74 @@ GST1_LIBAV_SITE = http://gstreamer.freedesktop.org/src/gst-libav
|
||||||
|
|
||||||
GST1_LIBAV_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
|
GST1_LIBAV_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
|
||||||
|
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT = \
|
GST1_LIBAV_CONF_EXTRA_OPTS = \
|
||||||
--cross-prefix=$(TARGET_CROSS) \
|
--cross-prefix=$(TARGET_CROSS) \
|
||||||
--target-os=linux \
|
--target-os=linux \
|
||||||
$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
|
$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-zlib
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-zlib
|
||||||
GST1_LIBAV_DEPENDENCIES += zlib
|
GST1_LIBAV_DEPENDENCIES += zlib
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-zlib
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-bzlib
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-bzlib
|
||||||
GST1_LIBAV_DEPENDENCIES += bzip2
|
GST1_LIBAV_DEPENDENCIES += bzip2
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-bzlib
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-bzlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-yasm
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-yasm
|
||||||
GST1_LIBAV_DEPENDENCIES += host-yasm
|
GST1_LIBAV_DEPENDENCIES += host-yasm
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-yasm
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-yasm
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-mmx
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-mmx
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-sse
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-sse
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-sse
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-sse
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_X86_CPU_HAS_SSSE3),y)
|
ifeq ($(BR2_X86_CPU_HAS_SSSE3),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-ssse3
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-ssse3
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-ssse3
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-ssse3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Explicitly disable everything that doesn't match for ARM
|
# Explicitly disable everything that doesn't match for ARM
|
||||||
# FFMPEG "autodetects" by compiling an extended instruction via AS
|
# FFMPEG "autodetects" by compiling an extended instruction via AS
|
||||||
# This works on compilers that aren't built for generic by default
|
# This works on compilers that aren't built for generic by default
|
||||||
ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),y)
|
ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-armv5te
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-armv5te
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf_s),y)
|
ifeq ($(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf_s),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-armv6
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-armv6
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-armv6 --disable-armv6t2
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-armv6 --disable-armv6t2
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-neon
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-neon
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-neon
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-neon
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_ARM_CPU_HAS_VFPV2),y)
|
ifeq ($(BR2_ARM_CPU_HAS_VFPV2),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-vfp
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-vfp
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-vfp
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-vfp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_POWERPC_CPU_HASH_ALTIVEC),y)
|
ifeq ($(BR2_POWERPC_CPU_HASH_ALTIVEC),y)
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --enable-altivec
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-altivec
|
||||||
else
|
else
|
||||||
GST1_LIBAV_CONF_EXTRA_OPT += --disable-altivec
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-altivec
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GST1_LIBAV_CONF_OPTS = \
|
GST1_LIBAV_CONF_OPTS = \
|
||||||
--with-libav-extra-configure="$(GST1_LIBAV_CONF_EXTRA_OPT)"
|
--with-libav-extra-configure="$(GST1_LIBAV_CONF_EXTRA_OPTS)"
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
Loading…
Reference in a new issue