Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/psplash: add support for fullscreen config option
@ 2025-05-07 11:40 Olivier Benjamin via buildroot
  2025-05-09 13:27 ` Julien Olivain
  2025-05-12 12:07 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 5+ messages in thread
From: Olivier Benjamin via buildroot @ 2025-05-07 11:40 UTC (permalink / raw)
  To: buildroot; +Cc: Phil Eichinger, Thomas Petazzoni, Olivier Benjamin

Add support for a psplash configure option:
  --enable-img-fullscreen, via BR2_PACKAGE_PSPLASH_FULL_SCREEN

The Buildroot option will default to 'n' to be compatible with
the previous behaviour, as it was disabled by default in psplash.

Signed-off-by: Olivier Benjamin <olivier.benjamin@bootlin.com>
---
 package/psplash/Config.in  | 6 ++++++
 package/psplash/psplash.mk | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/package/psplash/Config.in b/package/psplash/Config.in
index 61162fa583..ca39cd0ee3 100644
--- a/package/psplash/Config.in
+++ b/package/psplash/Config.in
@@ -47,6 +47,12 @@ config BR2_PACKAGE_PSPLASH_STARTUP_MSG
 	help
 	  Enable text banner output on startup.
 
+config BR2_PACKAGE_PSPLASH_FULL_SCREEN
+	bool "use fullscreen mode"
+	default n
+	help
+	  Enable displaying the psplash image in fullscreen mode.
+
 endif
 
 comment "psplash needs a toolchain w/ wchar"
diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk
index 62268e778b..bb249e7de8 100644
--- a/package/psplash/psplash.mk
+++ b/package/psplash/psplash.mk
@@ -31,6 +31,12 @@ else
 PSPLASH_CONF_OPTS += --disable-startup-msg
 endif
 
+ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y)
+PSPLASH_CONF_OPTS += --enable-img-fullscreen
+else
+PSPLASH_CONF_OPTS += --disable-img-fullscreen
+endif
+
 PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE))
 
 ifneq ($(PSPLASH_IMAGE),)
-- 
2.48.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-12 13:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 11:40 [Buildroot] [PATCH 1/1] package/psplash: add support for fullscreen config option Olivier Benjamin via buildroot
2025-05-09 13:27 ` Julien Olivain
2025-05-09 17:33   ` Olivier Benjamin via buildroot
2025-05-12 12:07 ` Thomas Petazzoni via buildroot
2025-05-12 13:04   ` Olivier Benjamin via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox