Skip to contentSkip to conversation

package/ivi-homescreen: add missing BR2_USE_MMU dependencies

PATCH Applied Thomas Petazzoni via buildroot 1 participant 3 messages Sep 13 – Sep 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ivi-homescreen: add missing BR2_USE_MMU dependencies

- BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS selects gstreamer1, which has a depends on BR2_USE_MMU, but does not propagate it

- BR2_PACKAGE_IVI_HOMESCREEN_FLUTTER_SECURE_STORAGE_PLUGIN selects libsecret, which has a depends on BR2_USE_MMU, but does not propagate it

In practice there is no problem since ivi-homescreen depends on glibc, and glibc doesn't support any noMMU architecture. But just by walking the chain of option dependencies, this is not something that is theoretically guaranteed (making automated verification of dependencies difficult).

The other "depends on" from gstreamer1 and libsecret, BR2_USE_WCHAR and BR2_TOOLCHAIN_HAS_THREADS are on the other hand already handled by the top-level BR2_PACKAGE_IVI_HOMESCREEN option, so there is no ambiguity.

---
 package/ivi-homescreen/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/ivi-homescreen/Config.in +2 -0
index a4f5f6835f..d7cc4ce04e 100644
@@ -187,6 +187,7 @@ config BR2_PACKAGE_IVI_HOMESCREEN_TEXT_INPUT_PLUGIN
 comment "plugins with external dependencies"
 config BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS
 	bool "Audio Players"
+	depends on BR2_USE_MMU # gstreamer1
 	select BR2_PACKAGE_GSTREAMER1
 	select BR2_PACKAGE_GST1_PLUGINS_BASE
 	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
@@ -201,6 +202,7 @@ config BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS
 
 config BR2_PACKAGE_IVI_HOMESCREEN_FLUTTER_SECURE_STORAGE_PLUGIN
 	bool "Flutter Secure Storage"
+	depends on BR2_USE_MMU # libsecret
 	select BR2_PACKAGE_LIBSECRET
 	help
 	  Store data in secure storage
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 13 lines · Thomas Petazzoni via buildroot

- BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS selects gstreamer1, which has a depends on BR2_USE_MMU, but does not propagate it

- BR2_PACKAGE_IVI_HOMESCREEN_FLUTTER_SECURE_STORAGE_PLUGIN selects libsecret, which has a depends on BR2_USE_MMU, but does not propagate it

In practice there is no problem since ivi-homescreen depends on glibc, and glibc doesn't support any noMMU architecture. But just by walking the chain of option dependencies, this is not something that is theoretically guaranteed (making automated verification of dependencies difficult).

Quoted 6 lines

The other "depends on" from gstreamer1 and libsecret, BR2_USE_WCHAR and BR2_TOOLCHAIN_HAS_THREADS are on the other hand already handled by the top-level BR2_PACKAGE_IVI_HOMESCREEN option, so there is no ambiguity.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Thomas Petazzoni via buildroot

In reply of:

Quoted 13 lines

- BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS selects gstreamer1, which has a depends on BR2_USE_MMU, but does not propagate it

- BR2_PACKAGE_IVI_HOMESCREEN_FLUTTER_SECURE_STORAGE_PLUGIN selects libsecret, which has a depends on BR2_USE_MMU, but does not propagate it

In practice there is no problem since ivi-homescreen depends on glibc, and glibc doesn't support any noMMU architecture. But just by walking the chain of option dependencies, this is not something that is theoretically guaranteed (making automated verification of dependencies difficult).

Quoted 6 lines

The other "depends on" from gstreamer1 and libsecret, BR2_USE_WCHAR and BR2_TOOLCHAIN_HAS_THREADS are on the other hand already handled by the top-level BR2_PACKAGE_IVI_HOMESCREEN option, so there is no ambiguity.

Applied to 2025.02.x & 2026.08.x. Thanks

Quoted 31 lines
---
 package/ivi-homescreen/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/ivi-homescreen/Config.in +2 -0
index a4f5f6835f..d7cc4ce04e 100644
@@ -187,6 +187,7 @@ config BR2_PACKAGE_IVI_HOMESCREEN_TEXT_INPUT_PLUGIN
 comment "plugins with external dependencies"
 config BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS
 	bool "Audio Players"
+	depends on BR2_USE_MMU # gstreamer1
 	select BR2_PACKAGE_GSTREAMER1
 	select BR2_PACKAGE_GST1_PLUGINS_BASE
 	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
@@ -201,6 +202,7 @@ config BR2_PACKAGE_IVI_HOMESCREEN_AUDIO_PLAYERS
 
 config BR2_PACKAGE_IVI_HOMESCREEN_FLUTTER_SECURE_STORAGE_PLUGIN
 	bool "Flutter Secure Storage"
+	depends on BR2_USE_MMU # libsecret
 	select BR2_PACKAGE_LIBSECRET
 	help
 	  Store data in secure storage
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot