Skip to content

Commit

Permalink
u-boot-qoriq: add 'python3-setuptools-native' to depends
Browse files Browse the repository at this point in the history
Building this recipe on an Unbuntu 20.04 host results in the following
error:

    Traceback (most recent call last):
      File "u-boot-qoriq/2021.04+fslgit-r0/git/tools/binman/binman", line 39, in <module>
        from binman import control
      File "u-boot-qoriq/2021.04+fslgit-r0/git/tools/binman/../binman/control.py", line 11, in <module>
        import pkg_resources
    ModuleNotFoundError: No module named 'pkg_resources'

With the added dependency the build completes.

Signed-off-by: Michael Jeanson <[email protected]>
  • Loading branch information
mjeanson committed Jan 25, 2024
1 parent 1599a49 commit 6ce9ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PV:append = "+fslgit"
LOCALVERSION = "+fsl"

INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bison-native bc-native swig-native python3-native"
DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bison-native bc-native swig-native python3-native python3-setuptools-native"
DEPENDS:append:qoriq-arm64 = " dtc-native"
DEPENDS:append:qoriq-arm = " dtc-native"
DEPENDS:append:qoriq-ppc = " boot-format-native"
Expand Down

0 comments on commit 6ce9ff4

Please sign in to comment.