Changes between v0.5.2 and v0.6.0: https://git.linuxtv.org/libcamera.git/tag/?h=v0.6.0 Changes between v0.5.1 and v0.5.2: https://git.linuxtv.org/libcamera.git/tag/?h=v0.5.2 libcamera commit [1] (included in v0.5.2) introduced a usage of the clone3() system call, introduced Kernel 5.3 [2]. Therefore, this commit adds the dependency on 5.3 headers. This commit also changes the toolchain used in the runtime test to the bootlin one, which includes 5.15 linux headers. [1] https://git.linuxtv.org/libcamera.git/commit/?id=b37e69d4348a0c3db80597dac19e801d19780d1c [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7f192e3cd316ba58c88dfa26796cf77789dd9872 Signed-off-by: Pierre-Yves Kerbrat <pkerbrat@free.fr> [Julien: - squashed the libcamera bump and the runtime test fix commits - add clone3() comment in Config.in - add "header >= 5.3" in Config.in comment ] Signed-off-by: Julien Olivain <ju.o@free.fr>
119 lines
3.4 KiB
Plaintext
119 lines
3.4 KiB
Plaintext
config BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
|
bool
|
|
default y
|
|
# Invalid packing size of ControlValue struct on m68k
|
|
depends on !BR2_m68k
|
|
|
|
menuconfig BR2_PACKAGE_LIBCAMERA
|
|
bool "libcamera"
|
|
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
|
depends on !BR2_STATIC_LIBS # gnutls
|
|
depends on BR2_USE_WCHAR # gnutls
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 # clone3()
|
|
select BR2_PACKAGE_GNUTLS
|
|
select BR2_PACKAGE_LIBYAML
|
|
select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
libcamera provides a software stack to support
|
|
complex devices that need heavy hardware image
|
|
processing operations.
|
|
|
|
http://www.libcamera.org/
|
|
|
|
if BR2_PACKAGE_LIBCAMERA
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PYTHON
|
|
bool "python bindings"
|
|
depends on BR2_PACKAGE_PYTHON3
|
|
select BR2_PACKAGE_PYTHON_PYBIND
|
|
help
|
|
Enable libcamera python bindings
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_V4L2
|
|
bool "libcamera v4l2 compatibility layer"
|
|
help
|
|
libcamera v4l2 compatibility layer
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
bool
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_IMX8_ISI
|
|
bool "imx8-isi pipeline"
|
|
depends on BR2_arm || BR2_aarch64
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for i.MX8 SoC ISI capture interface.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3
|
|
bool "ipu3 pipeline"
|
|
depends on BR2_i386 || BR2_x86_64
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for Intel IPU3.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1
|
|
bool "rkisp1 pipeline"
|
|
depends on BR2_arm || BR2_aarch64
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for Rockchip ISP1.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_MALI_C55
|
|
bool "mali-c55 pipeline"
|
|
depends on BR2_arm || BR2_aarch64
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for Arm Mali-C55 ISP.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_VC4
|
|
bool "rpi/vc4 pipeline"
|
|
depends on BR2_arm || BR2_aarch64
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for Raspberry Pi devices.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE
|
|
bool "simple pipeline"
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for simple pipelines.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO
|
|
bool "uvcvideo pipeline"
|
|
help
|
|
Pipeline for uvcvideo devices.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC
|
|
bool "vimc pipeline"
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
help
|
|
Pipeline for the vimc device.
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_COMPLIANCE
|
|
bool "lc-compliance test application"
|
|
depends on BR2_USE_WCHAR # gtest
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # gtest
|
|
depends on BR2_INSTALL_LIBSTDCPP # gtest
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # gtest
|
|
depends on BR2_USE_MMU # gtest
|
|
select BR2_PACKAGE_GTEST
|
|
select BR2_PACKAGE_LIBEVENT
|
|
help
|
|
lc-compliance test application
|
|
|
|
comment "lc-compliance test application needs a toolchain w/ C++, wchar, threads, gcc >= 5"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
|
endif # BR2_PACKAGE_LIBCAMERA
|
|
|
|
comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8, headers >= 5.3"
|
|
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
|