diff mbox series

boot/at91bootstrap3: add dependency to host python3

Message ID 20200804071733.114835-1-eugen.hristev@microchip.com
State Changes Requested
Headers show
Series boot/at91bootstrap3: add dependency to host python3 | expand

Commit Message

Eugen Hristev Aug. 4, 2020, 7:17 a.m. UTC
Starting with version 3.9.3, AT91Bootstrap adds dependency for host
python3.
Python2 was deprecated so moving to Python3.
AT91Bootstrap only requires Python3 at boot time, for some scripts that
generate specific metadata.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 boot/at91bootstrap3/at91bootstrap3.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alexander Dahl Aug. 4, 2020, 7:58 a.m. UTC | #1
Hello Eugen,

On Tue, Aug 04, 2020 at 10:17:33AM +0300, Eugen Hristev wrote:
> Starting with version 3.9.3, AT91Bootstrap adds dependency for host
> python3.
> Python2 was deprecated so moving to Python3.
> AT91Bootstrap only requires Python3 at boot time, for some scripts that
> generate specific metadata.

Did you mean 'build time'?

Greets
Alex

> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  boot/at91bootstrap3/at91bootstrap3.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
> index 5cf865c681..a601f35a4b 100644
> --- a/boot/at91bootstrap3/at91bootstrap3.mk
> +++ b/boot/at91bootstrap3/at91bootstrap3.mk
> @@ -6,6 +6,8 @@
>  
>  AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION))
>  
> +AT91BOOTSTRAP3_DEPENDENCIES += host-python3
> +
>  ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y)
>  AT91BOOTSTRAP3_TARBALL = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION))
>  AT91BOOTSTRAP3_SITE = $(patsubst %/,%,$(dir $(AT91BOOTSTRAP3_TARBALL)))
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Eugen Hristev Aug. 4, 2020, 8:03 a.m. UTC | #2
On 04.08.2020 10:58, Alexander Dahl wrote:

> Hello Eugen,
> 
> On Tue, Aug 04, 2020 at 10:17:33AM +0300, Eugen Hristev wrote:
>> Starting with version 3.9.3, AT91Bootstrap adds dependency for host
>> python3.
>> Python2 was deprecated so moving to Python3.
>> AT91Bootstrap only requires Python3 at boot time, for some scripts that
>> generate specific metadata.
> 
> Did you mean 'build time'?
> 

Yes, sorry, build time. I made a typo/error


> Greets
> Alex
> 
>>
>> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
>> ---
>>   boot/at91bootstrap3/at91bootstrap3.mk | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
>> index 5cf865c681..a601f35a4b 100644
>> --- a/boot/at91bootstrap3/at91bootstrap3.mk
>> +++ b/boot/at91bootstrap3/at91bootstrap3.mk
>> @@ -6,6 +6,8 @@
>>
>>   AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION))
>>
>> +AT91BOOTSTRAP3_DEPENDENCIES += host-python3
>> +
>>   ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y)
>>   AT91BOOTSTRAP3_TARBALL = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION))
>>   AT91BOOTSTRAP3_SITE = $(patsubst %/,%,$(dir $(AT91BOOTSTRAP3_TARBALL)))
>> --
>> 2.25.1
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
> 
> --
> /"\ ASCII RIBBON | »With the first link, the chain is forged. The first
> \ / CAMPAIGN     | speech censured, the first thought forbidden, the
>   X  AGAINST      | first freedom denied, chains us all irrevocably.«
> / \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
diff mbox series

Patch

diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 5cf865c681..a601f35a4b 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -6,6 +6,8 @@ 
 
 AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION))
 
+AT91BOOTSTRAP3_DEPENDENCIES += host-python3
+
 ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y)
 AT91BOOTSTRAP3_TARBALL = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION))
 AT91BOOTSTRAP3_SITE = $(patsubst %/,%,$(dir $(AT91BOOTSTRAP3_TARBALL)))