uboot: fix binman with a new dependency
authorFrancois Perrad <fperrad@gmail.com>
Fri, 15 Jan 2021 17:01:56 +0000 (18:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 12 Feb 2021 08:46:27 +0000 (09:46 +0100)
since 2021.01, tools/binman is broken.
tools/binman/control.py imports pkg_resources
the module pkg_resources is supplied by setuptools,
so this new dependency is required.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/uboot/uboot.mk

index 2478a2a1e9055940545c8079f122dd4b1c4d2e15..bb4598002252a51792a34eec32f95d23cf0f2593 100644 (file)
@@ -173,9 +173,9 @@ UBOOT_DEPENDENCIES += host-dtc
 endif
 
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON2),y)
-UBOOT_DEPENDENCIES += host-python
+UBOOT_DEPENDENCIES += host-python host-python-setuptools
 else ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON3),y)
-UBOOT_DEPENDENCIES += host-python3
+UBOOT_DEPENDENCIES += host-python3 host-python3-setuptools
 endif
 
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)