Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kory Maincent <kory.maincent@bootlin.com>
To: buildroot@buildroot.org
Cc: phil.eichinger@gmail.com, thomas.petazzoni@bootlin.com
Subject: [Buildroot] [PATCH 2/2] package/psplash: add support to missing configure options
Date: Mon, 15 Nov 2021 14:30:00 +0100	[thread overview]
Message-ID: <20211115133000.72041-2-kory.maincent@bootlin.com> (raw)
In-Reply-To: <20211115133000.72041-1-kory.maincent@bootlin.com>

Add support to three configure options:
--disable-startup-msg: Disable text banner output on startup
--disable-progress-bar: Disable progress bar
--enable-img-fullscreen: Enable the logo image in fullscreen mode

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
 package/psplash/.Config.in.swp | Bin 0 -> 12288 bytes
 package/psplash/Config.in      |  15 +++++++++++++++
 package/psplash/psplash.mk     |  12 ++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/psplash/.Config.in.swp

diff --git a/package/psplash/.Config.in.swp b/package/psplash/.Config.in.swp
new file mode 100644
index 0000000000000000000000000000000000000000..e484556922e96c824ecda0725e674bc8223d8d00
GIT binary patch
literal 12288
zcmeHNO>Y}T7@lwd0<<8wfso$15&=Z*e6$dy0?7?d8j%kZ$G`z(jdy45Np@#eJF{`z
z14tlo;{yDMN_?G=KwLQS4>%!}18_hH^(T~PcGp%KHR+jZ96j01?mO?t^L{8%-v0bM
z8(XwoUtst=#n^AJea>%w_r}a4Uz}$LIvcyk_xtp78Ha^}vn4-t3L9yr_eEe$BOEKO
zdi+poB?Hqav}9V_M#_T&J`j!6q%k+c#;R749Mq*cTfKkl8So68#z1bPOUvij(&ECr
z6S-KsK+ingJx$s__Y8OjJOiEq&wyvZGvFEU40r|}Kn83&!#+Y>4^^=(SJ#;n*Xl=q
z@eFtdJOiEq&wyvZGvFEU40r}S1D*lTfM?);$N&!+yZtC*|IEU9{QrOQ_y1o{GWIL*
z6YxE719%;{bDpuEfiD592(b5n=YVH{Tjv<N348*43>*O+U=dgV?mWT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J5;GM)}m4Ds=9q-vxTX)Q-->0vR??;hvXkgd{nR;RN60O4Ltxc~qF

literal 0
HcmV?d00001

diff --git a/package/psplash/Config.in b/package/psplash/Config.in
index da99b264e0..e79e9e85c4 100644
--- a/package/psplash/Config.in
+++ b/package/psplash/Config.in
@@ -35,6 +35,21 @@ config BR2_PACKAGE_PSPLASH_IMAGE
 	  Use a personalized png image as boot splash.
 	  Let it empty if you want to keep the psplash default image.
 
+config BR2_PACKAGE_PSPLASH_FULL_SCREEN
+	bool "use fullscreen mode"
+	help
+	  Enable the psplash image in fullscreen mode.
+
+config BR2_PACKAGE_PSPLASH_NO_STARTUP_MSG
+	bool "disable startup message"
+	help
+	  Disable text banner output on startup.
+
+config BR2_PACKAGE_PSPLASH_NO_PROGRESS_BAR
+	bool "disable progress bar"
+	help
+	  Disable the management of the progress bar.
+
 endif
 
 comment "psplash needs a toolchain w/ wchar"
diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk
index 5e61f2392f..a7d36697a6 100644
--- a/package/psplash/psplash.mk
+++ b/package/psplash/psplash.mk
@@ -18,6 +18,18 @@ else
 PSPLASH_CONF_OPTS += --without-systemd
 endif
 
+ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y)
+PSPLASH_CONF_OPTS += --enable-img-fullscreen
+endif
+
+ifeq ($(BR2_PACKAGE_PSPLASH_NO_STARTUP_MSG),y)
+PSPLASH_CONF_OPTS += --disable-startup-msg
+endif
+
+ifeq ($(BR2_PACKAGE_PSPLASH_NO_PROGRESS_BAR),y)
+PSPLASH_CONF_OPTS += --disable-progress-bar
+endif
+
 PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE))
 
 ifneq ($(PSPLASH_IMAGE),)
-- 
2.25.1

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

  reply	other threads:[~2021-11-15 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15 13:29 [Buildroot] [PATCH 1/2] package/psplash: bump to revision 44afb75 Kory Maincent
2021-11-15 13:30 ` Kory Maincent [this message]
2021-11-15 13:47   ` [Buildroot] [PATCH 2/2] package/psplash: add support to missing configure options Quentin Schulz
2021-11-15 15:21     ` Köry Maincent
2021-11-15 14:38   ` Thomas Petazzoni
2021-11-15 15:37     ` Baruch Siach via buildroot
2021-11-15 15:50       ` Thomas Petazzoni
2021-11-15 16:01         ` Baruch Siach via buildroot
2021-11-15 16:48       ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211115133000.72041-2-kory.maincent@bootlin.com \
    --to=kory.maincent@bootlin.com \
    --cc=buildroot@buildroot.org \
    --cc=phil.eichinger@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox