Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Kory Maincent <kory.maincent@bootlin.com>
Cc: phil.eichinger@gmail.com, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 2/2] package/psplash: add support to missing configure options
Date: Mon, 15 Nov 2021 23:01:06 +0100	[thread overview]
Message-ID: <20211115230106.4a53ec44@windsurf> (raw)
In-Reply-To: <20211115152604.84814-2-kory.maincent@bootlin.com>

Hello,

On Mon, 15 Nov 2021 16:26:04 +0100
Kory Maincent <kory.maincent@bootlin.com> wrote:

> Add support to three configure options:

Here and in the commit title: "Add support *for*" (not to)

> 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.

Please use positive logic in options, i.e options should "enable"
something, not "disable" something. If the previous default (when the
option didn't exist) was to have it enabled, add a "default y" in the
Config.in option so that it remains enabled by default.

> +
> +config BR2_PACKAGE_PSPLASH_NO_PROGRESS_BAR
> +	bool "disable progress bar"
> +	help
> +	  Disable the management of the progress bar.

Same.

> +ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y)
> +PSPLASH_CONF_OPTS += --enable-img-fullscreen
> +endif

We like to have both sides of the condition, i.e:

ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y)
PSPLASH_CONF_OPTS += --enable-img-fullscreen
else
PSPLASH_CONF_OPTS += --disable-img-fullscreen
endif

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-11-15 22:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15 15:26 [Buildroot] [PATCH v2 1/2] package/psplash: bump to revision 44afb75 Kory Maincent
2021-11-15 15:26 ` [Buildroot] [PATCH v2 2/2] package/psplash: add support to missing configure options Kory Maincent
2021-11-15 22:01   ` Thomas Petazzoni [this message]
2021-11-15 21:58 ` [Buildroot] [PATCH v2 1/2] package/psplash: bump to revision 44afb75 Thomas Petazzoni

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=20211115230106.4a53ec44@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@buildroot.org \
    --cc=kory.maincent@bootlin.com \
    --cc=phil.eichinger@gmail.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