[Buildroot] [PATCH v2] boot/at91bootstrap3: add dependency to host python3

Eugen Hristev eugen.hristev at microchip.com
Tue Aug 4 08:29:06 UTC 2020


Starting with version 3.9.3, AT91Bootstrap adds dependency for host
python3.
Python2 was deprecated so moving to Python3.
AT91Bootstrap only requires Python3 at build time, for some scripts that
generate specific metadata.

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
Changes in v2:
- fix typo s/boot/build

 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



More information about the buildroot mailing list