Message ID | 20210115170156.917086-1-francois.perrad@gadz.org |
---|---|
State | Accepted |
Headers | show |
Series | [v2] uboot: fix binman with a new dependency | expand |
On Fri, Jan 15, 2021 at 6:02 PM Francois Perrad <fperrad@gmail.com> wrote: > > 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> Committed, thanks.
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index d2b4e8dc6..3d057e709 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -166,9 +166,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)
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> --- boot/uboot/uboot.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)