[Buildroot] [git commit] package/pkg-python: add comment why no dependencies are added for host-python-installer.

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Mon May 2 21:38:08 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=2fa7abca8d11b5d767ca0caee9aa6d09713d4cb6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Also, only host-python-installer itself needs to be added now.
host-python-flit-core is a dependency of host-python-installer so
doesn't need to be added explicitly.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/pkg-python.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/pkg-python.mk b/package/pkg-python.mk
index b86e12423f..452fa0d3ea 100644
--- a/package/pkg-python.mk
+++ b/package/pkg-python.mk
@@ -233,8 +233,10 @@ ifeq ($$($(2)_SETUP_TYPE),flit)
 $(2)_DEPENDENCIES += host-python-flit-core
 endif
 else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap)
+# Don't add dependency on host-python-installer for
+# host-python-installer itself, and its dependencies.
 ifeq ($$(filter host-python-flit-core host-python-installer,$(1)),)
-$(2)_DEPENDENCIES += host-python-flit-core host-python-installer
+$(2)_DEPENDENCIES += host-python-installer
 endif
 endif # SETUP_TYPE
 



More information about the buildroot mailing list