package/gerbera: propagate icu's dependency on !BR2_BINFMT_FLAT

gerbera selects BR2_PACKAGE_ICU, which depends on !BR2_BINFMT_FLAT,
but this dependency was not propagated to gerbera. In practice this is
not an issue because gerbera depends on BR2_USE_MMU, and only noMMU
platforms can use BR2_BINFMT_FLAT. But for the sake of completeness,
let's propagate this dependency.

Note: in the Config.in comment, we handle it like an architecture
dependency, like is done in package/icu/Config.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 6b716763e9)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Thomas Petazzoni
2026-09-15 13:12:17 +02:00
committed by Raphaël Mélotte
parent 874dfd0e1a
commit 8b24e3a6e9

View File

@@ -8,6 +8,7 @@ config BR2_PACKAGE_GERBERA
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR # fmt
depends on !BR2_BINFMT_FLAT # icu
select BR2_PACKAGE_CXXOPTS
select BR2_PACKAGE_FMT
select BR2_PACKAGE_ICU
@@ -32,6 +33,7 @@ config BR2_PACKAGE_GERBERA
comment "gerbera needs a toolchain w/ C++, dynamic library, threads, wchar, gcc >= 8, host gcc >= 7"
depends on BR2_USE_MMU
depends on !BR2_BINFMT_FLAT
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \