[Buildroot] [PATCH 4/5 v4] package/xenomai: add support to download from a custom Hg tree
Romain Naour
romain.naour at gmail.com
Wed Mar 11 22:35:27 UTC 2020
Hello Yann,
Le 14/01/2020 à 21:55, Yann E. MORIN a écrit :
> Reported-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Jan Kiszka <jan.kiszka at siemens.com>
> Cc: Romain Naour <romain.naour at gmail.com>
> Cc: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> ---
> package/xenomai/Config.in | 8 ++++++--
> package/xenomai/xenomai.mk | 3 +++
> 2 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in
> index 452b452039..114aec3968 100644
> --- a/package/xenomai/Config.in
> +++ b/package/xenomai/Config.in
> @@ -61,12 +61,16 @@ config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
> config BR2_PACKAGE_XENOMAI_CUSTOM_GIT
> bool "Custom Git repository"
>
> +config BR2_PACKAGE_XENOMAI_CUSTOM_HG
> + bool "Custom Mercurial repository"
I'm not sure it is worth the effort to support mercurial and svn download for
xenomai.
Who want to use a different VCS than the upsream project ?
User may just want to easily cherry-pick patches it their custom git repository :)
Best regards,
Romain
> +
> endchoice
>
> config BR2_PACKAGE_XENOMAI_REPOSITORY
> string "URL of custom repository"
> - default "https://gitlab.denx.de/Xenomai/xenomai.git"
> - depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT
> + default "https://gitlab.denx.de/Xenomai/xenomai.git" if BR2_PACKAGE_XENOMAI_CUSTOM_GIT
> + depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT \
> + || BR2_PACKAGE_XENOMAI_CUSTOM_HG
>
> config BR2_PACKAGE_XENOMAI_VERSION
> string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION
> diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
> index 11c69000df..e2a89cfeb9 100644
> --- a/package/xenomai/xenomai.mk
> +++ b/package/xenomai/xenomai.mk
> @@ -12,6 +12,9 @@ XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL)))
> else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_GIT),y)
> XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY))
> XENOMAI_SITE_METHOD = git
> +else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_HG),y)
> +XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY))
> +XENOMAI_SITE_METHOD = hg
> else
> XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2
> XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable
>
More information about the buildroot
mailing list