All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] boot/uboot: switch to host-python3
@ 2020-04-26 14:03 Francois Perrad
  2020-04-26 16:29 ` Yann E. MORIN
  2020-04-27 19:28 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Francois Perrad @ 2020-04-26 14:03 UTC (permalink / raw)
  To: buildroot

that fixes the following build failures with olimex_a20_olinuxino_lime*_defconfig:
https://gitlab.com/buildroot.org/buildroot/-/jobs/526035680
https://gitlab.com/buildroot.org/buildroot/-/jobs/526035682

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 boot/uboot/uboot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 2bfa50779..688cc17cc 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -160,7 +160,7 @@ UBOOT_DEPENDENCIES += host-dtc
 endif
 
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
-UBOOT_DEPENDENCIES += host-python host-swig
+UBOOT_DEPENDENCIES += host-python3 host-swig
 endif
 
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS),y)
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] boot/uboot: switch to host-python3
  2020-04-26 14:03 [Buildroot] [PATCH] boot/uboot: switch to host-python3 Francois Perrad
@ 2020-04-26 16:29 ` Yann E. MORIN
  2020-04-27 19:28 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2020-04-26 16:29 UTC (permalink / raw)
  To: buildroot

Fran?ois, All,

On 2020-04-26 16:03 +0200, Francois Perrad spake thusly:
> that fixes the following build failures with olimex_a20_olinuxino_lime*_defconfig:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/526035680
> https://gitlab.com/buildroot.org/buildroot/-/jobs/526035682
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  boot/uboot/uboot.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> index 2bfa50779..688cc17cc 100644
> --- a/boot/uboot/uboot.mk
> +++ b/boot/uboot/uboot.mk
> @@ -160,7 +160,7 @@ UBOOT_DEPENDENCIES += host-dtc
>  endif
>  
>  ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
> -UBOOT_DEPENDENCIES += host-python host-swig
> +UBOOT_DEPENDENCIES += host-python3 host-swig

This is not correct, because it is possible to use older versions of
uboot that still require python2, and this chagne would break them, as
well as our 33 other defconfigs that are still using such an older
uboot.

Another discussion was started on that topic:

    http://lists.busybox.net/pipermail/buildroot/2020-April/281309.html

Regards,
Yann E. MORIN.

>  endif
>  
>  ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS),y)
> -- 
> 2.20.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] boot/uboot: switch to host-python3
  2020-04-26 14:03 [Buildroot] [PATCH] boot/uboot: switch to host-python3 Francois Perrad
  2020-04-26 16:29 ` Yann E. MORIN
@ 2020-04-27 19:28 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-04-27 19:28 UTC (permalink / raw)
  To: buildroot

On Sun, 26 Apr 2020 16:03:30 +0200
Francois Perrad <fperrad@gmail.com> wrote:

>  ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
> -UBOOT_DEPENDENCIES += host-python host-swig
> +UBOOT_DEPENDENCIES += host-python3 host-swig
>  endif

No, this is going to break the build of older U-Boots that need Python
2. We are having a discussion about this in the thread at:

  http://patchwork.ozlabs.org/project/buildroot/patch/20200425000629.2068191-1-heiko at sntech.de/

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-27 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 14:03 [Buildroot] [PATCH] boot/uboot: switch to host-python3 Francois Perrad
2020-04-26 16:29 ` Yann E. MORIN
2020-04-27 19:28 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.