mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/psplash: add support for two configure options
Add support for two configure options: --disable-progress-bar, via BR2_PACKAGE_PSPLAH_PROGRESS_BAR --disable-startup-msg, via BR2_PACKAGE_PSPLASH_STARTUP_MSG Both buildroot options will default to 'y' to be compatible with the previous behaviour, since those were enabled by default by not specifying the disable config flag. Signed-off-by: Olivier Benjamin <olivier.benjamin@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
553c55e9bd
commit
5da83ec50f
@@ -35,6 +35,18 @@ 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_PROGRESS_BAR
|
||||
bool "enable progress bar"
|
||||
default y
|
||||
help
|
||||
Enable progress bar management via the "PROGRESS" command.
|
||||
|
||||
config BR2_PACKAGE_PSPLASH_STARTUP_MSG
|
||||
bool "enable startup message"
|
||||
default y
|
||||
help
|
||||
Enable text banner output on startup.
|
||||
|
||||
endif
|
||||
|
||||
comment "psplash needs a toolchain w/ wchar"
|
||||
|
||||
@@ -19,6 +19,18 @@ else
|
||||
PSPLASH_CONF_OPTS += --without-systemd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PSPLASH_PROGRESS_BAR),y)
|
||||
PSPLASH_CONF_OPTS += --enable-progress-bar
|
||||
else
|
||||
PSPLASH_CONF_OPTS += --disable-progress-bar
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PSPLASH_STARTUP_MSG),y)
|
||||
PSPLASH_CONF_OPTS += --enable-startup-msg
|
||||
else
|
||||
PSPLASH_CONF_OPTS += --disable-startup-msg
|
||||
endif
|
||||
|
||||
PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE))
|
||||
|
||||
ifneq ($(PSPLASH_IMAGE),)
|
||||
|
||||
Reference in New Issue
Block a user