Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>,
	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/xenomai: always set default version
Date: Tue, 9 Aug 2022 15:54:26 +0200	[thread overview]
Message-ID: <20220809155426.7d950e64@windsurf> (raw)
In-Reply-To: <CAPi7W831MWDk=uBqFzebZ9FmsZiVNxDfDfNMYfa5rqW6cgxOuA@mail.gmail.com>

Hello,

On Tue, 9 Aug 2022 14:12:53 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> >  - Not have any default value for BR2_PACKAGE_XENOMAI_VERSION
> >  
> 
> This will not be really consistent with other packages.
> arm-trusted-firmware, barebox, optee-os, opensbi and uboot all have default
> values for
> BR2_TARGET_{ARM_TRUSTED_FIRMWARE,BAREBOX,OPENSBI,OPTEE_OS,UBOOT}_VERSION

Well, not really for Git/Mercurial/SVN:

config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION
        string "Custom repository version"
        help
          Revision to use in the typical format used by
          Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..

So no default version.

And:

config BR2_TARGET_UBOOT_VERSION
        string
        default "2022.04"       if BR2_TARGET_UBOOT_LATEST_VERSION
        default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
                if BR2_TARGET_UBOOT_CUSTOM_VERSION
        default "custom"        if BR2_TARGET_UBOOT_CUSTOM_TARBALL
        default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \
                if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN

which only means that BR2_TARGET_BOOT_VERSION is automatically set to
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION when Git/Mercurial/SVN is used.

I wouldn't call that having a default version :-)

I think we should use the same pattern everywhere.

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:[~2022-08-09 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 21:54 [Buildroot] [PATCH 1/1] package/xenomai: always set default version Fabrice Fontaine
2022-08-09 11:39 ` Thomas Petazzoni via buildroot
2022-08-09 12:12   ` Fabrice Fontaine
2022-08-09 13:54     ` Thomas Petazzoni via buildroot [this message]

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=20220809155426.7d950e64@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.de_schampheleire@nokia.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