082a3dd286
[Thomas: - make the license info more specific: it's BSD-2c, not just BSD. - use a single conditional block to test the architecture, instead of multiple separate conditions. - add missing arm/armeb handling in the architecture condition. - make the host-nasm dependency only used on x86/x86-64, since it's not used for other architectures - group the ARCH= and ENABLE64BIT= make variable definitions in a LIBOPENH264_MAKE_OPTS variable, and use them at install time (in addition to build time) to avoid build issues. - wrap too long lines in the .mk file.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
718 B
Plaintext
23 lines
718 B
Plaintext
config BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || \
|
|
BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
|
|
BR2_x86_64
|
|
|
|
config BR2_PACKAGE_LIBOPENH264
|
|
bool "libopenh264"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
|
|
help
|
|
OpenH264 is a codec library which supports H.264 encoding and
|
|
decoding.
|
|
|
|
http://www.openh264.org
|
|
|
|
comment "libopenh264 needs a toolchain w/ C++, dynamic library, threads"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS
|
|
depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
|