Thanks, applied as aa468000b9cb29760665bd014fbc8e42e29068c1.

Michael

[sent from post-receive hook]

On Wed, 30 Mar 2022 09:25:27 +0200, Rouven Czerwinski 
<[email protected]> wrote:
> Add the checks for python3 cryptgraphy and pyelftools. These will be
> required for bumping the OP-TEE release.
> 
> Signed-off-by: Rouven Czerwinski <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in
> index baafc1572fbd..4be968f435ee 100644
> --- a/rules/host-system-python3.in
> +++ b/rules/host-system-python3.in
> @@ -23,4 +23,10 @@ config HOST_SYSTEM_PYTHON3_SETUPTOOLS
>  config HOST_SYSTEM_PYTHON3_SIX
>       bool
>  
> +config HOST_SYSTEM_PYTHON3_PYELFTOOLS
> +     bool
> +
> +config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
> +     bool
> +
>  endif
> diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make
> index a44767c503b4..02e9da1410fc 100644
> --- a/rules/host-system-python3.make
> +++ b/rules/host-system-python3.make
> @@ -59,6 +59,18 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_SIX
>       @$(SYSTEMPYTHON3) -c 'import six' 2>/dev/null || \
>               ptxd_bailout "Python six module not found! \
>       Please install python3-six (debian)";
> +endif
> +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PYELFTOOLS
> +     @echo "Checking for Python Pyelftools ..."
> +     @$(SYSTEMPYTHON3) -c 'import elftools' 2>/dev/null || \
> +             ptxd_bailout "Python elftools module not found! \
> +     Please install python3-pyelftools (debian)";
> +endif
> +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
> +     @echo "Checking for Python Cryptography ..."
> +     @$(SYSTEMPYTHON3) -c 'import cryptography' 2>/dev/null || \
> +             ptxd_bailout "Python cryptography module not found! \
> +     Please install python3-cryptography (debian)";
>  endif
>       @$(call touch)
>  

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to