b2af6bef9c
In both bayer2rgb-neon and gst1-plugins-bayer2rgb-neon, the Config.in comment was not displayed on aarch64, even though both packages are available on this architecture. To fix this, this commit introduces BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS, and makes use of it in both packages. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> [Thomas: add BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS, use it to fix both packages] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
757 B
Plaintext
23 lines
757 B
Plaintext
config BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_arm && BR2_ARM_CPU_HAS_NEON
|
|
default y if BR2_aarch64
|
|
|
|
config BR2_PACKAGE_BAYER2RGB_NEON
|
|
bool "bayer2rgb-neon"
|
|
depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
|
|
help
|
|
bayer2rgb-neon is a library which allows
|
|
to decode raw camera bayer to RGB using
|
|
NEON hardware acceleration.
|
|
|
|
https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb
|
|
|
|
comment "bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9"
|
|
depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
|
|
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|